public class OAuth2AuthorizationCodeFlowExecutor
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected OAuth2Config |
config |
Constructor and Description |
---|
OAuth2AuthorizationCodeFlowExecutor(android.content.Context context,
OAuth2Config config)
Initializes this flow executor object with the arguments necessary for performing an access token acquisition process.
|
Modifier and Type | Method and Description |
---|---|
java.util.concurrent.Future<OAuth2TokenWrapper> |
executeFlow()
Executes this flow with its arguments and invokes the specified callback with either the acquired tokens or null if
an error occurs.
|
protected final OAuth2Config config
public OAuth2AuthorizationCodeFlowExecutor(android.content.Context context, OAuth2Config config)
config
- the OAuth2 configuration, must be non-nullpublic java.util.concurrent.Future<OAuth2TokenWrapper> executeFlow()