Logo Search packages:      
Sourcecode: sofia-sip version File versions  Download package

auth_plugin.h File Reference

Detailed Description

Plugin interface for authentication verification modules.

Defined when <sofia-sip/auth_plugin.h> has been included.

Pekka Pessi <Pekka.Pessi@nokia.com>
Created: Tue Apr 27 15:22:07 2004 ppessi

Definition in file auth_plugin.h.

#include "sofia-sip/auth_digest.h"
#include "sofia-sip/auth_common.h"
#include <sofia-sip/msg_date.h>
#include <sofia-sip/su_md5.h>
#include <sofia-sip/htable.h>
#include "sofia-sip/auth_module.h"

Go to the source code of this file.


struct  auth_mod_t
struct  auth_passwd_t
struct  auth_scheme


#define AUTH_PLUGIN(am)   (auth_plugin_t *)((am) + 1)


SOFIAPUBFUN int auth_allow_check (auth_mod_t *am, auth_status_t *as)
SOFIAPUBFUN void auth_cancel_default (auth_mod_t *am, auth_status_t *as)
SOFIAPUBFUN void auth_challenge_basic (auth_mod_t *am, auth_status_t *as, auth_challenger_t const *ach)
SOFIAPUBFUN void auth_challenge_digest (auth_mod_t *am, auth_status_t *as, auth_challenger_t const *ach)
SOFIAPUBFUN void auth_check_digest (auth_mod_t *am, auth_status_t *as, auth_response_t *ar, auth_challenger_t const *ach)
SOFIAPUBFUN void auth_destroy_default (auth_mod_t *am)
SOFIAPUBFUN msg_auth_tauth_digest_credentials (msg_auth_t *auth, char const *realm, char const *opaque)
SOFIAPUBFUN isize_t auth_generate_digest_nonce (auth_mod_t *am, char buffer[], size_t buffer_len, int nextnonce, msg_time_t now)
SOFIAPUBFUN void auth_info_digest (auth_mod_t *am, auth_status_t *as, auth_challenger_t const *ach)
SOFIAPUBFUN int auth_init_default (auth_mod_t *am, auth_scheme_t *base, su_root_t *root, tag_type_t tag, tag_value_t value,...)
SOFIAPUBFUN void auth_md5_hmac_digest (auth_mod_t *am, su_md5_t *md5, void *hmac, size_t size)
SOFIAPUBFUN void auth_md5_hmac_init (auth_mod_t *am, su_md5_t *md5)
SOFIAPUBFUN void auth_method_basic (auth_mod_t *am, auth_status_t *as, msg_auth_t *auth, auth_challenger_t const *ach)
SOFIAPUBFUN void auth_method_digest (auth_mod_t *am, auth_status_t *as, msg_auth_t *au, auth_challenger_t const *ach)
SOFIAPUBFUN auth_passwd_tauth_mod_addpass (auth_mod_t *am, char const *user, char const *realm)
SOFIAPUBFUN auth_mod_tauth_mod_alloc (auth_scheme_t *scheme, tag_type_t, tag_value_t,...)
SOFIAPUBFUN msg_auth_tauth_mod_credentials (msg_auth_t *auth, char const *scheme, char const *realm)
SOFIAPUBFUN auth_passwd_tauth_mod_getpass (auth_mod_t *am, char const *user, char const *realm)
SOFIAPUBFUN int auth_readdb (auth_mod_t *am)
SOFIAPUBFUN int auth_readdb_if_needed (auth_mod_t *am)
SOFIAPUBFUN int auth_validate_digest_nonce (auth_mod_t *am, auth_status_t *as, auth_response_t *ar, msg_time_t now)
 HTABLE_DECLARE_WITH (auth_htable, aht, auth_passwd_t, usize_t, unsigned)

Generated by  Doxygen 1.6.0   Back to index