public interface ScopeQuery
Modifier and Type | Method and Description |
---|---|
boolean |
hasScope(java.lang.String scope)
Does the authenticated token have the specified scope.
|
default boolean |
hasScope(java.lang.String[] scopes)
Does the token have one of the scope from a list
|
boolean hasScope(java.lang.String scope)
scope
- default boolean hasScope(java.lang.String[] scopes)
scopes
-