1 #include <freeradius-devel/radiusd.h>
2 #include <freeradius-devel/modules.h>
15 #define YUBIKEY_TOKEN_LEN 32
34 unsigned int client_id;
char const * name
Instance name.
rlm_rcode_t rlm_yubikey_validate(rlm_yubikey_t *inst, REQUEST *request, char const *passcode)
int rlm_yubikey_ykclient_detach(rlm_yubikey_t *inst)
bool validate
Validate the OTP string using the ykclient library.
bool split
Split password string into components.
int rlm_yubikey_ykclient_init(CONF_SECTION *conf, rlm_yubikey_t *inst)
char const ** uris
Yubicloud URLs to validate the token against.
enum rlm_rcodes rlm_rcode_t
Return codes indicating the result of the module call.
rlm_rcode_t rlm_yubikey_decrypt(rlm_yubikey_t *inst, REQUEST *request, char const *passcode)
struct rlm_yubikey_t rlm_yubikey_t
int auth_type
Our Auth-Type.
unsigned int id_len
The length of the Public ID portion of the OTP string.
bool decrypt
Decrypt the OTP string using the yubikey library.