Listener function declaration.
#include "am_sso.h" typedef void (*am_sso_token_listener_func_t)( const am_sso_token_handle_t sso_token_handle, const am_sso_token_event_type_t event_type, const time_t event_time, void *args);
am_sso_token_listener_func_t has the following members:
Pointer to the session information object.
Takes one of the following values from the am_sso_token_event_type_t enumeration (defined in the <am_sso.h> header file):
typedef enum { AM_SSO_TOKEN_EVENT_TYPE_UNKNOWN = 0, AM_SSO_TOKEN_EVENT_TYPE_IDLE_TIMEOUT = 1, AM_SSO_TOKEN_EVENT_TYPE_MAX_TIMEOUT = 2, AM_SSO_TOKEN_EVENT_TYPE_LOGOUT = 3, AM_SSO_TOKEN_EVENT_TYPE_DESTROY = 5 } am_sso_token_event_type_t;
Takes a value based on the standard time_t data type that represents the time at which the change event occurred.
Pointer to application-defined parameters.