iptsec 1.12.11devel
|
Datatypes and functions for Ntlm authentication. More...
Go to the source code of this file.
Macros | |
#define | AUTH_NTLM_H |
Defined when <sofia-sip/auth_ntlm.h> has been included. | |
Functions | |
issize_t | auth_ntlm_challenge_get (su_home_t *, auth_challenge_t *, char const *const params[]) |
Get ntlm-challenge parameters. | |
issize_t | auth_ntlm_response_get (su_home_t *, auth_response_t *, char const *const params[]) |
Get ntlm-response parameters. | |
msg_auth_t * | auth_ntlm_credentials (msg_auth_t *auth, char const *realm, char const *opaque, char const *gssapidata, char const *targetname) |
NTLM scheme. | |
void | auth_challenge_ntlm (auth_mod_t *am, auth_status_t *as, auth_challenger_t const *ach) |
Construct a challenge header for Ntlm authentication scheme. | |
void | auth_method_ntlm (auth_mod_t *am, auth_status_t *as, msg_auth_t *au, auth_challenger_t const *ach) |
Authenticate a request with Ntlm authentication scheme. | |
void | auth_check_ntlm (auth_mod_t *am, auth_status_t *as, auth_response_t *ar, auth_challenger_t const *ach) |
Check ntlm authentication. | |
void | auth_info_ntlm (auth_mod_t *am, auth_status_t *as, auth_challenger_t const *ach) |
Construct a info header for Ntlm authentication scheme. | |
Datatypes and functions for Ntlm authentication.
The structures and functions here follow the RFC 2617.
issize_t auth_ntlm_challenge_get | ( | su_home_t * | home, |
auth_challenge_t * | ac0, | ||
char const *const | params[] | ||
) |
Get ntlm-challenge parameters.
The function ntlm_challenge_get() searches for the ntlm authentication parameters in params. The parameters are assigned to the appropriate fields in ac structure.
The function ntlm_challenge_get() returns number of parameters found, or -1 upon an error.
msg_auth_t * auth_ntlm_credentials | ( | msg_auth_t * | auth, |
char const * | realm, | ||
char const * | opaque, | ||
char const * | gssapidata, | ||
char const * | targetname | ||
) |
NTLM scheme.
NTLM scheme.
issize_t auth_ntlm_response_get | ( | su_home_t * | home, |
auth_response_t * | ar0, | ||
char const *const | params[] | ||
) |
Get ntlm-response parameters.
The function auth_response_get() searches for the ntlm authentication parameters in params. The parameters are assigned to the appropriate fields in ar structure.
The function auth_response_get() returns number of parameters found, or -1 upon an error.