Sun Java System Access Manager 7.1 C API Reference

am_auth_get_callback()

Retrieves the appropriate callback structure to populate with authentication requirements.

Syntax

#include "am_auth.h"
AM_EXPORT am_auth_callback_t *
am_auth_get_callback(am_auth_context_t auth_ctx,
                     size_t index);

Parameters

This function takes the following parameters:

auth_ctx

The am_auth_context_t type.


Note –

See am_auth_context_t for information.


index

Takes a value based on size_t defined in the standard <stddef.h> header file that initializes the index into the callback array.

Returns

This function returns a pointer to the am_auth_callback_t type. See am_auth_callback_t for more information.