Inherited Attributes
Attributes inherited from: Object
hash, string
Methods
accessTokenshared Object accessToken(Object principal)

Get decoded access_token from the principal.

Parameters:
  • principal

    user principal

acrshared String acr(Object principal)
allowedOriginsshared Set<String> allowedOrigins(Object principal)
authTimeshared Integer authTime(Object principal)
emailshared String email(Object principal)
idTokenshared Object idToken(Object principal)

Get decoded id_token from the principal.

Parameters:
  • principal

    user principal

nameshared String name(Object principal)
nickNameshared String nickName(Object principal)
parseTokenshared Object parseToken(String token)

Parse the token string with base64 decoder. This will only obtain the “payload” part of the token.

Parameters:
  • token

    token string

preferredUsernameshared String preferredUsername(Object principal)
rawAccessTokenshared String rawAccessToken(Object principal)

Get raw access_token string from the principal.

Parameters:
  • principal

    user principal

rawIdTokenshared String rawIdToken(Object principal)

Get raw id_token string from the principal.

Parameters:
  • principal

    user principal

sessionStateshared String sessionState(Object principal)
Inherited Methods
Methods inherited from: Object
equals