new SAMLToken(user, userTag, nonce [, payload])
Parameters:
Name | Type | Argument | Description |
---|---|---|---|
user |
string | ||
userTag |
string | ||
nonce |
string | ||
payload |
Object |
<optional> |
Extends
Methods
-
getFullToken()
-
Gets the SAML token if it exists. It will be zipped & base64 encoded XML.
- Inherited From:
- Overrides:
Returns:
- Type
- string
-
getNonce()
-
Gets the authenticated nonce
- Inherited From:
- Overrides:
Returns:
- Type
- string
-
getPayload()
-
Gets nameId
- Inherited From:
- Overrides:
Returns:
- Type
- Object
-
getUser()
-
Gets the authenticated user name
- Inherited From:
- Overrides:
Returns:
- Type
- string
-
getUserTag()
-
Gets the authenticated user tag
- Inherited From:
- Overrides:
Returns:
- Type
- string
-
serialize()
-
Serializes the token
- Inherited From:
- Overrides:
Returns:
- Type
- string
-
setFullToken(token)
-
Parameters:
Name Type Description token
string