Sun Java System Access Manager 7.1 C API Reference

am_auth_get_sso_token_id()

Retrieves the session identifier for the authenticated user.

Details

The SSOTokenID is a randomly-generated string that represents an authenticated user. See Single Sign-on Token Handles for more information.

Syntax

#include "am_auth.h"
AM_EXPORT const char *
am_auth_get_sso_token_id(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 a pointer with one of the following values:

Zero-terminated string representing the session token.

After the user successfully logs in.

NULL

If there was an error or the user has not successfully logged in.