Updates the session information in the SSOToken associated with the specified single sign-on token handle.
This call will go to Access Manager to retrieve the latest session information. The sso_token_handle is updated if the return status is either AM_SUCCESS or AM_INVALID_SESSION. This is different from am_sso_refresh_token()in that it does not update the last access time on the server.
#include "am_sso.h" AM_EXPORT am_status_t am_sso_validate_token(const am_sso_token_handle_t sso_token_handle);
This function takes the following parameter:
Pointer to a am_sso_token_handle_t type.
This function returns one of the following values of the am_status_t enumeration (defined in the <am_types.h> header file):
If single sign-on token is valid. The information is updated.
If the session is invalid. The information is updated.
If the input parameter is invalid.
If Session Service is not initialized.
If Access Manager returned service not available.
If HTTP error encountered while communicating with Access Manager.
If error parsing XML from Access Manager.
If access is denied while communicating with Access Manager.
If any other error occurred.