All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Typedefs | Functions
rlm_yubikey.h File Reference
#include <freeradius-devel/radiusd.h>
#include <freeradius-devel/modules.h>
#include <ctype.h>
#include "config.h"
+ Include dependency graph for rlm_yubikey.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  rlm_yubikey_t


#define YUBIKEY_TOKEN_LEN   32


typedef struct rlm_yubikey_t rlm_yubikey_t


rlm_rcode_t rlm_yubikey_decrypt (rlm_yubikey_t *inst, REQUEST *request, char const *passcode)
rlm_rcode_t rlm_yubikey_validate (rlm_yubikey_t *inst, REQUEST *request, char const *passcode)
int rlm_yubikey_ykclient_detach (rlm_yubikey_t *inst)
int rlm_yubikey_ykclient_init (CONF_SECTION *conf, rlm_yubikey_t *inst)

Data Structure Documentation

struct rlm_yubikey_t

Definition at line 24 of file rlm_yubikey.h.

Data Fields
int auth_type Our Auth-Type.
bool decrypt Decrypt the OTP string using the yubikey library.
unsigned int id_len The length of the Public ID portion of the OTP string.
char const * name Instance name.
bool split Split password string into components.
char const ** uris Yubicloud URLs to validate the token against.
bool validate Validate the OTP string using the ykclient library.

Macro Definition Documentation

#define YUBIKEY_TOKEN_LEN   32

Definition at line 15 of file rlm_yubikey.h.

Typedef Documentation

typedef struct rlm_yubikey_t rlm_yubikey_t

Function Documentation

rlm_rcode_t rlm_yubikey_decrypt ( rlm_yubikey_t inst,
REQUEST request,
char const *  passcode 
rlm_rcode_t rlm_yubikey_validate ( rlm_yubikey_t inst,
REQUEST request,
char const *  passcode 
int rlm_yubikey_ykclient_detach ( rlm_yubikey_t inst)
int rlm_yubikey_ykclient_init ( CONF_SECTION conf,
rlm_yubikey_t inst 

+ Here is the caller graph for this function: