The FreeRADIUS server $Id: 15bac2a4c627c01d1aa2047687b3418955ac7f00 $
|
#include <freeradius-devel/server/base.h>
#include <freeradius-devel/server/module_rlm.h>
#include <ctype.h>
#include "config.h"
Go to the source code of this file.
Data Structures | |
struct | rlm_yubikey_t |
Macros | |
#define | YUBIKEY_TOKEN_LEN 32 |
Functions | |
unlang_action_t | rlm_yubikey_decrypt (rlm_rcode_t *p_result, module_ctx_t const *mctx, request_t *request, char const *passcode) |
unlang_action_t | rlm_yubikey_validate (rlm_rcode_t *p_result, module_ctx_t const *mctx, request_t *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) |
Variables | |
HIDDEN fr_dict_attr_t const * | attr_auth_type |
HIDDEN fr_dict_attr_t const * | attr_user_password |
HIDDEN fr_dict_attr_t const * | attr_yubikey_counter |
HIDDEN fr_dict_attr_t const * | attr_yubikey_key |
HIDDEN fr_dict_attr_t const * | attr_yubikey_otp |
HIDDEN fr_dict_attr_t const * | attr_yubikey_private_id |
HIDDEN fr_dict_attr_t const * | attr_yubikey_public_id |
HIDDEN fr_dict_attr_t const * | attr_yubikey_random |
HIDDEN fr_dict_attr_t const * | attr_yubikey_timestamp |
struct rlm_yubikey_t |
Definition at line 40 of file rlm_yubikey.h.
Data Fields | ||
---|---|---|
fr_dict_enum_value_t * | 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 | |
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. |
#define YUBIKEY_TOKEN_LEN 32 |
Definition at line 31 of file rlm_yubikey.h.
unlang_action_t rlm_yubikey_decrypt | ( | rlm_rcode_t * | p_result, |
module_ctx_t const * | mctx, | ||
request_t * | request, | ||
char const * | passcode | ||
) |
unlang_action_t rlm_yubikey_validate | ( | rlm_rcode_t * | p_result, |
module_ctx_t const * | mctx, | ||
request_t * | 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 | ||
) |
|
extern |
Definition at line 72 of file rlm_eap_peap.c.
|
extern |
Definition at line 107 of file rlm_eap_fast.c.
|
extern |
Definition at line 66 of file rlm_yubikey.c.
|
extern |
Definition at line 63 of file rlm_yubikey.c.
|
extern |
Definition at line 69 of file rlm_yubikey.c.
|
extern |
Definition at line 65 of file rlm_yubikey.c.
|
extern |
Definition at line 64 of file rlm_yubikey.c.
|
extern |
Definition at line 68 of file rlm_yubikey.c.
|
extern |
Definition at line 67 of file rlm_yubikey.c.