Removes an SSO token listener for the SSO token’s change events.
#include "am_sso.h" AM_EXPORT am_status_t am_sso_remove_sso_token_listener( const am_sso_token_handle_t sso_token_handle, const am_sso_token_listener_func_t listener);
This function takes the following parameters:
The session handle containing the SSO token id for the listener.
The token change event listener.
This function returns am_status_t with one of the following values:
If the listener was successfully removed.
If sso_token_id or listener is invalid or NULL.
If listener was not found for the SSO token id.
If any other error occurred.
If am_sso_token_add_listener() was called more than once with the same listener function, all instances of the listener function will be removed.