Refreshes an SSO token session.
#include "am_sso.h" AM_EXPORT am_status_t am_sso_refresh_token(const am_sso_token_handle_t sso_token_handle);
This function takes the following parameters:
SSO token to refresh.
This function returns am_status_t with one of the following values:
If SSO token could be refreshed with no errors.
If the input parameter is invalid.
If SSO token service is not initialized. SSO token service must be initialized by calling am_sso_init() before any call to am_sso*.
If server returned service not available.
If HTTP error encountered while communicating with server.
If error parsing XML from server.
If access denied while communicating with server.
If the session validation failed.
If any other error occurred.
This goes to the server to get latest session info and update it in the sso_token_handle input parameter like am_sso_validate_token(). However it also refreshes the last access time of the session.