public interface AccessToken
Modifier and Type | Interface and Description |
---|---|
static class |
AccessToken.Type |
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
|
Long |
getExpirationTime()
Optional.
|
Scope |
getScope()
Optional.
|
String |
getToken()
The access token
|
AccessToken.Type |
getType()
Type of the Access Token.
|
boolean |
isExpired()
Checks if the Access Token is expired, taking into account the min
validity time configured by the user.
|
String getToken()
Map<String,Object> getClaims()
Object getClaim(String key)
key
- Long getExpirationTime()
boolean isExpired()
true
, if access token is expired or it will be expired in
the next X milliseconds configured by user.Scope getScope()
AccessToken.Type getType()
Copyright © 2020. All rights reserved.