Sun Java System Access Manager 7 2005Q4 C API Reference

am_sso_get_idle_time

Gets idle time associated with this session handle.

Syntax

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

Parameters

This function takes the following parameter:

sso_token_handle

The SSO token handle.

Returns

This function returns the idle time of the session handle in seconds.

(time_t) -1 if token is invalid or some error occurs. Detailed error is logged.