25 #ifndef AUTH_CLIENT_PLUGIN_H
27 #define AUTH_CLIENT_PLUGIN_H
53 struct auth_client_s {
55 auth_client_plugin_t
const *ca_auc;
59 char const *ca_scheme;
66 #if SOFIA_EXTEND_AUTH_CLIENT
71 struct auth_client_plugin
80 msg_auth_t
const *ch);
93 #if SOFIA_EXTEND_AUTH_CLIENT
100 #define AUTH_CLIENT_IS_EXTENDED(ca) \
102 (ca)->ca_auc->auc_plugin_size > \
103 (int)offsetof(auth_client_plugin_t, auc_clear) \
104 && (ca)->ca_auc->auc_clear != NULL)
Client-side authenticator library.
struct auth_client_s auth_client_t
Authenticator object.
Definition: auth_client.h:49
int auc_challenge(auth_client_t **auc, su_home_t *home, msg_auth_t const *auth, msg_hclass_t *crcl)
Initialize authenticators.
Definition: auth_client.c:102
int auc_info(auth_client_t **auc_list, msg_auth_info_t const *ai, msg_hclass_t *credential_class)
Store authentication info to authenticators.
Definition: auth_client.c:235
struct msg_hclass_s const msg_hclass_t