public class AccessTokenImpl extends Object implements AccessToken
AccessToken.Type| Constructor and Description |
|---|
AccessTokenImpl(String token) |
| Modifier and Type | Method and Description |
|---|---|
Object |
getClaim(String key)
Gets the identity token's claim based on requested key type.
|
Map<String,Object> |
getClaims()
Gets the access token's claims that was received from the OpenId Connect
provider
|
String |
getToken()
The access token
|
com.nimbusds.jwt.JWT |
getTokenJWT() |
AccessToken.Type |
getType() |
boolean |
isEncrypted() |
boolean |
isSigned() |
void |
setClaims(Map<String,Object> claims) |
String |
toString() |
public AccessTokenImpl(String token)
public com.nimbusds.jwt.JWT getTokenJWT()
public AccessToken.Type getType()
getType in interface AccessTokenpublic String getToken()
AccessTokengetToken in interface AccessTokenpublic Map<String,Object> getClaims()
AccessTokengetClaims in interface AccessTokenpublic Object getClaim(String key)
AccessTokengetClaim in interface AccessTokenpublic boolean isEncrypted()
public boolean isSigned()
Copyright © 2019. All rights reserved.