The structures and functions here follow the RFC 2617.
Section 19 from <a href="ftp://ftp.ietf.org/internet-drafts/draft-ietf-sip-rfc2543bis-04.txt>draft-ietf-sip-rfc2543bis-04.
#include <sofia-sip/su_alloc.h>
#include <sofia-sip/auth_plugin.h>
Include dependency graph for auth_ntlm.h:
Go to the source code of this file.
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. |
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.
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.