Sun Java System Access Manager 7.1 C API Reference

am_auth_destroy_auth_context()

Eliminates the specified authentication context.

Syntax

#include "am_auth.h"
AM_EXPORT am_status_t
am_auth_destroy_auth_context(am_auth_context_t auth_ctx);

Parameters

This function takes the following parameter:

auth_ctx

The am_auth_context_t type.


Note –

See am_auth_context_t for information.


Returns

This function returns one of the following values of the am_status_t enumeration (defined in the <am_types.h> header file):

AM_SUCCESS

If the pointer was successfully destroyed.

AM_INVALID_ARGUMENT

If the auth_ctx parameter is NULL.