Sun Java System Access Manager 7 2005Q4 C API Reference

am_sso_get_time_left()

Gets the time left of this session handle.

Syntax

#include "am_sso.h"
AM_EXPORT time_t
am_sso_get_time_left(const am_sso_token_handle_t sso_token_handle);

Parameters

This function takes the following parameters:

sso_token_handle

The SSO token handle.

Returns

This function returns the time left of this session handle in seconds. ( time_t) -1 if token is invalid or some error occurs.

Details

Detailed error is logged.