public interface ResourceAccess
ResourceAccess
encapsulates the logic of required scope selection.Modifier and Type | Method and Description |
---|---|
Promise<Set<String>,ResponseException> |
getRequiredScopes(Context context,
Request request)
Returns the scopes required to access the resource.
|
Promise<Set<String>,ResponseException> getRequiredScopes(Context context, Request request)
context
- The current context which might be used to retrieve required scopes.request
- The current OAuth2 request which might be used to retrieve required scopes.ResponseException
If an error occurred while resolving scope set.
Should never return null
.Copyright © 2010-2018, ForgeRock All Rights Reserved.