53 msg_auth_t
const *auth,
61 msg_auth_info_t
const *ai,
86 msg_payload_t
const *body);
93 msg_payload_t
const *body,
101typedef struct auth_client_plugin auth_client_plugin_t;
int auc_authorization_headers(auth_client_t **auc_list, su_home_t *home, char const *method, url_t const *url, msg_payload_t const *body, msg_header_t **return_headers)
Generate headers authorizing a request.
Definition auth_client.c:764
int auc_all_credentials(auth_client_t **auc_list, char const *scheme, char const *realm, char const *user, char const *pass)
Feed authentication data to the authenticators.
Definition auth_client.c:381
int auc_credentials(auth_client_t **auc, su_home_t *home, char const *data)
Feed authentication data to the authenticator.
Definition auth_client.c:311
int auc_authorization(auth_client_t **auc_list, msg_t *msg, msg_pub_t *pub, char const *method, url_t const *url, msg_payload_t const *body)
Authorize a request.
Definition auth_client.c:699
int auc_register_plugin(auth_client_plugin_t const *plugin)
Register an authentication client plugin.
Definition auth_client.c:1171
int auc_copy_credentials(auth_client_t **dst, auth_client_t const *src)
Copy authentication data from src to dst.
Definition auth_client.c:496
struct auth_client_s auth_client_t
Authenticator object.
Definition auth_client.h:49
int auc_has_authorization(auth_client_t **auc_list)
Check if there are credentials for all challenges.
Definition auth_client.c:643
int auc_clear_credentials(auth_client_t **auc_list, char const *scheme, char const *realm)
Clear authentication data from the authenticator.
Definition auth_client.c:593
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:231
struct msg_hclass_s const msg_hclass_t