public interface AuthScopeExpression
| Modifier and Type | Method and Description |
|---|---|
java.lang.String[] |
getAllScopes()
Gets all OAuth scopes that are involved with this expression.
|
boolean |
isAuthorized(java.util.Set<java.lang.String> userScopes)
Determines whether a set of scopes that a user has is sufficient for the expression.
|
java.lang.String |
toLoggingForm()
Gets a stringified form of the expression that can be used for logging.
|
java.lang.String[] getAllScopes()
boolean isAuthorized(java.util.Set<java.lang.String> userScopes)
java.lang.String toLoggingForm()