Sun Java System Access Manager 7.1 C API Reference

am_sso_is_valid_token()

Checks if the SSOToken associated with the specified single sign-on token handle is valid.

Details

am_sso_is_valid_token() looks in the passed sso_token_handle to check for validity. It does not go to Access Manager.

Syntax

#include "am_sso.h"
AM_EXPORT boolean_t
am_sso_is_valid_token(const am_sso_token_handle_t sso_token_handle);

Parameters

This function takes the following parameter:

sso_token_handle

Pointer to a am_sso_token_handle_t type.

Returns

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

B_TRUE

If the single sign-on token is valid.

B_FALSE

If the single sign-on token is invalid or any other error occurred.