| Modifier and Type | Method and Description |
|---|---|
GrantType |
getGrantType()
Returns the grant type of the jwt token.
|
Set<String> |
getScopes()
Returns the list of the claim "scope".
|
boolean |
hasLocalScope(String scope)
Check if a local scope is available in the authentication token.
|
boolean |
hasScope(String scope)
Checks if a scope is available in the access token.
|
getAudiences, getClaimAsJsonObject, getClaimAsString, getClaimAsStringList, getExpiration, getHeaderParameterAsString, getNotBefore, getPrincipal, getService, getTokenValue, hasClaim, hasHeaderParameter, isExpiredSet<String> getScopes()
boolean hasScope(String scope)
scope - name of the scopeboolean hasLocalScope(@Nonnull String scope)
scope - name of local scopeCopyright © 2020. All rights reserved.