Class: OpenIDToken

olympe.auth. OpenIDToken

OpenID (oAuth2) specific token.


new OpenIDToken(user, userTag, nonce, payload)

Parameters:
Name Type Description
user string
userTag string
nonce string
payload Object

Extends

Methods


getAccessToken()

Returns:
Type
string

getExpiration()

Returns:
Type
number

getFullToken()

Gets the SAML token if it exists. It will be zipped & base64 encoded XML.

Inherited From:
Overrides:
Returns:
Type
string

getIdToken()

Returns:
Type
string

getNonce()

Gets the authenticated nonce

Inherited From:
Overrides:
Returns:
Type
string

getPayload()

Gets nameId

Inherited From:
Overrides:
Returns:
Type
Object

getRefreshToken()

Returns:
Type
string

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