Interface IOAuthAuthorization
-
- All Known Implementing Classes:
OAuth20Authorization
public interface IOAuthAuthorization
Interface for OAuth authorization classes- Since:
- 18650
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
authorize(IOAuthParameters parameters, java.util.function.Consumer<java.util.Optional<IOAuthToken>> consumer, java.lang.Enum<?>... scopes)
Perform the authorization dance
-
-
-
Method Detail
-
authorize
void authorize(IOAuthParameters parameters, java.util.function.Consumer<java.util.Optional<IOAuthToken>> consumer, java.lang.Enum<?>... scopes)
Perform the authorization dance- Parameters:
parameters
- The OAuth parametersconsumer
- The callback for the generated tokenscopes
- The scopes to ask for
-
-