Class OAuth2Scopes
java.lang.Object
com.worldline.acquiring.sdk.java.authentication.OAuth2Scopes
-
Method Summary
Modifier and TypeMethodDescriptionall()Returns all available scopes.forApiVersion(String apiVersion) Returns all scopes needed for all operations of the given API version.forOperation(String apiVersion, String operationId) Returns all scopes needed for the given operation of the given API version.forOperations(String apiVersion, String... operationIds) Returns all scopes needed for the given operations of the given API version.forOperations(BiPredicate<? super String, ? super String> predicate) Returns all scopes needed for the operations that pass the given predicate.
-
Method Details
-
all
Returns all available scopes. -
forApiVersion
Returns all scopes needed for all operations of the given API version. -
forOperation
Returns all scopes needed for the given operation of the given API version. -
forOperations
Returns all scopes needed for the given operations of the given API version. -
forOperations
Returns all scopes needed for the operations that pass the given predicate. The first argument to the predicate is the API version, the second is the operation id.
-