The following interfaces make it convenient to get server-defined information (or properties) about the session associated with a token. This can include the session idle time, maximum session time, and so forth.
const char * am_sso_get_sso_token_id(const am_sso_token_handle_t sso_token_handle);
const char * am_sso_get_auth_type(const am_sso_token_handle_t sso_token_handle);
unsigned long am_sso_get_auth_level(const am_sso_token_handle_t sso_token_handle);
time_t am_sso_get_idle_time(const am_sso_token_handle_t sso_token_handle);
time_t am_sso_get_max_idle_time(const am_sso_token_handle_t sso_token_handle);
time_t am_sso_get_time_left(const am_sso_token_handle_t sso_token_handle);
time_t am_sso_get_max_session_time(const am_sso_token_handle_t sso_token_handle);
const char * am_sso_get_principal(const am_sso_token_handle_t sso_token_handle);
am_string_set_t am_sso_get_principal_set(const am_sso_token_handle_t sso_token_handle);
const char * am_sso_get_host(const am_sso_token_handle_t sso_token_handle);