public interface OpenIdContext extends Serializable
| Modifier and Type | Method and Description |
|---|---|
AccessToken |
getAccessToken()
Gets the authorization token that was received from the OpenId Connect
provider
|
String |
getCallerGroups()
Gets the groups associated with the caller
|
String |
getCallerName()
Gets the caller name of the validated caller
|
OpenIdClaims |
getClaims()
Gets the User Claims that was received from the userinfo endpoint
|
javax.json.JsonObject |
getClaimsJson()
Gets the User Claims that was received from the userinfo endpoint
|
Optional<Integer> |
getExpiresIn()
Return the time that the access token is granted for, if it is set to
expire
|
IdentityToken |
getIdentityToken()
Gets the identity token that was received from the OpenId Connect
provider
|
javax.json.JsonObject |
getProviderMetadata()
The OpenId Connect Provider's metadata document fetched via provider URI.
|
Optional<RefreshToken> |
getRefreshToken()
Returns the refresh token that can be used to get a new access token
|
String |
getSubject()
Subject Identifier.
|
String |
getTokenType()
Gets the token type value.
|
String getCallerName()
String getCallerGroups()
String getSubject()
String getTokenType()
AccessToken getAccessToken()
IdentityToken getIdentityToken()
Optional<RefreshToken> getRefreshToken()
Optional<Integer> getExpiresIn()
javax.json.JsonObject getClaimsJson()
OpenIdClaims getClaims()
OpenIdClaims instancejavax.json.JsonObject getProviderMetadata()
Copyright © 2019. All rights reserved.