auth_plugin.c File Reference


Detailed Description

Plugin interface for authentication verification modules.

Author:
Pekka Pessi <Pekka.Pessi@nokia-email.address.hidden>
Date:
Created: Tue Apr 27 15:23:31 2004 ppessi

#include "config.h"
#include <stddef.h>
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include <assert.h>
#include <sofia-sip/auth_digest.h>
#include <sofia-sip/su_debug.h>
#include <sofia-sip/su_wait.h>
#include <sofia-sip/su_alloc.h>
#include <sofia-sip/su_tagarg.h>
#include "sofia-sip/auth_module.h"
#include "sofia-sip/auth_plugin.h"

Include dependency graph for auth_plugin.c:


Functions

int auth_mod_register_plugin (auth_scheme_t *asch)
 Register an authentication plugin.
auth_mod_tauth_mod_create (su_root_t *root, tag_type_t tag, tag_value_t value,...)
 Create an authentication plugin module.

Function Documentation

auth_mod_t* auth_mod_create ( su_root_t root,
tag_type_t  tag,
tag_value_t  value,
  ... 
)

Create an authentication plugin module.

The function auth_mod_create() creates a module used to authenticate the requests.

Parameters:
root pointer to a su_root_t object
tag,value,... tagged argument list
Related Tags:
AUTHTAG_METHOD(), AUTHTAG_REALM(), AUTHTAG_DB(), AUTHTAG_ALLOW(), AUTHTAG_QOP(), AUTHTAG_ALGORITHM(), AUTHTAG_EXPIRES(), AUTHTAG_BLACKLIST(), AUTHTAG_FORBIDDEN(), AUTHTAG_ANONYMOUS(), AUTHTAG_REMOTE().

int auth_mod_register_plugin ( auth_scheme_t asch  ) 

Register an authentication plugin.

Return values:
0 when successful
-1 upon an error


Sofia-SIP 1.12.4 - Copyright (C) 2006 Nokia Corporation. All rights reserved. Licensed under the terms of the GNU Lesser General Public License.