17 #include <freeradius-devel/server/base.h>
18 #include <freeradius-devel/server/module_rlm.h>
31 #define YUBIKEY_TOKEN_LEN 32
50 unsigned int client_id;
62 request_t *request,
char const *passcode);
72 request_t *request,
char const *passcode);
unlang_action_t
Returned by unlang_op_t calls, determine the next action of the interpreter.
A section grouping multiple CONF_PAIR.
Value of an enumerated attribute.
Temporary structure to hold arguments for module calls.
rlm_rcode_t
Return codes indicating the result of the module call.
HIDDEN fr_dict_attr_t const * attr_yubikey_counter
HIDDEN fr_dict_attr_t const * attr_auth_type
int rlm_yubikey_ykclient_init(CONF_SECTION *conf, rlm_yubikey_t *inst)
HIDDEN fr_dict_attr_t const * attr_yubikey_public_id
char const ** uris
Yubicloud URLs to validate the token against.
fr_dict_enum_value_t * auth_type
Our Auth-Type.
HIDDEN fr_dict_attr_t const * attr_yubikey_key
int rlm_yubikey_ykclient_detach(rlm_yubikey_t *inst)
HIDDEN fr_dict_attr_t const * attr_yubikey_private_id
HIDDEN fr_dict_attr_t const * attr_yubikey_otp
bool split
Split password string into components.
HIDDEN fr_dict_attr_t const * attr_user_password
unsigned int id_len
The length of the Public ID portion of the OTP string.
bool validate
Validate the OTP string using the ykclient library.
unlang_action_t rlm_yubikey_decrypt(rlm_rcode_t *p_result, module_ctx_t const *mctx, request_t *request, char const *passcode)
bool decrypt
Decrypt the OTP string using the yubikey library.
HIDDEN fr_dict_attr_t const * attr_yubikey_timestamp
unlang_action_t rlm_yubikey_validate(rlm_rcode_t *p_result, module_ctx_t const *mctx, request_t *request, char const *passcode)
HIDDEN fr_dict_attr_t const * attr_yubikey_random
eap_aka_sim_process_conf_t * inst