Returns the SSO Token from the given SAML assertion.
#include "am_web.h" AM_WEB_EXPORT am_status_t am_web_get_token_from_assertion(char *assertion, char **token);
This function takes the following parameters:
The SAML assertion as an XML string.
Pointer to contain the SSO Token ID.
The returned SSO Token ID should be freed using am_web_free().
This function returns am_status_t with one of the following values:
If the call was successful.
If any error occurs, the type of error indicated by the status value.