Sun Java System Access Manager 7 2005Q4 C API Reference

am_auth_destroy_auth_context()

Destroys the given auth context handle.

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

Handle of the auth context to be destroyed.

Returns

This function returns am_status_t with one of the following values:

AM_SUCCESS

If the auth context was successfully destroyed.

AM_INVALID_ARGUMENT

If the auth_ctx parameter is NULL.