#include "config.h"
#include <stddef.h>
#include <string.h>
#include <sofia-sip/sip.h>
#include <sofia-sip/sip_header.h>
#include <sofia-sip/sip_status.h>
#include <sofia-sip/nta.h>
#include <sofia-sip/auth_module.h>
Include dependency graph for auth_module_sip.c:

Functions | |
| void | auth_mod_check (auth_mod_t *am, auth_status_t *as, sip_t const *sip, auth_kind_t proxy) |
| Authenticate an incoming SIP request. | |
| void auth_mod_check | ( | auth_mod_t * | am, | |
| auth_status_t * | as, | |||
| sip_t const * | sip, | |||
| auth_kind_t | proxy | |||
| ) |
Authenticate an incoming SIP request.
The function auth_mod_check() completes the as structure and calls the scheme-specific authentication method performing the actual authentication.
A successful authentication is indicated by setting as->as_status to 0. The authentication module sets as->as_match as the matching credential header.