Package | Description |
---|---|
com.google.api.client.auth.oauth2 |
Implementation of the OAuth 2.0 Authorization
Framework.
|
Modifier and Type | Method | Description |
---|---|---|
AuthorizationCodeFlow.Builder |
AuthorizationCodeFlow.Builder.addRefreshListener(CredentialRefreshListener refreshListener) |
Adds a listener for refresh token results.
|
AuthorizationCodeFlow.Builder |
AuthorizationCodeFlow.Builder.setAuthorizationServerEncodedUrl(String authorizationServerEncodedUrl) |
Sets the authorization server encoded URL.
|
AuthorizationCodeFlow.Builder |
AuthorizationCodeFlow.Builder.setClientAuthentication(com.google.api.client.http.HttpExecuteInterceptor clientAuthentication) |
Sets the client authentication or
null for none (see
TokenRequest.setClientAuthentication(HttpExecuteInterceptor) ). |
AuthorizationCodeFlow.Builder |
AuthorizationCodeFlow.Builder.setClientId(String clientId) |
Sets the client identifier.
|
AuthorizationCodeFlow.Builder |
AuthorizationCodeFlow.Builder.setClock(com.google.api.client.util.Clock clock) |
Sets the clock to pass to the Credential.
|
AuthorizationCodeFlow.Builder |
AuthorizationCodeFlow.Builder.setCredentialCreatedListener(AuthorizationCodeFlow.CredentialCreatedListener credentialCreatedListener) |
Sets the credential created listener or
null for none. |
AuthorizationCodeFlow.Builder |
AuthorizationCodeFlow.Builder.setCredentialDataStore(com.google.api.client.util.store.DataStore<StoredCredential> credentialDataStore) |
Beta Sets the stored credential data store or null for none. |
AuthorizationCodeFlow.Builder |
AuthorizationCodeFlow.Builder.setCredentialStore(CredentialStore credentialStore) |
Deprecated.
(to be removed in the future) Use
setDataStoreFactory(DataStoreFactory) or
setCredentialDataStore(DataStore) instead. |
AuthorizationCodeFlow.Builder |
AuthorizationCodeFlow.Builder.setDataStoreFactory(com.google.api.client.util.store.DataStoreFactory dataStoreFactory) |
Beta Sets the data store factory or null for none. |
AuthorizationCodeFlow.Builder |
AuthorizationCodeFlow.Builder.setJsonFactory(com.google.api.client.json.JsonFactory jsonFactory) |
Sets the JSON factory.
|
AuthorizationCodeFlow.Builder |
AuthorizationCodeFlow.Builder.setMethod(Credential.AccessMethod method) |
Sets the method of presenting the access token to the resource server (for example
BearerToken.authorizationHeaderAccessMethod() ). |
AuthorizationCodeFlow.Builder |
AuthorizationCodeFlow.Builder.setRefreshListeners(Collection<CredentialRefreshListener> refreshListeners) |
Sets the listeners for refresh token results.
|
AuthorizationCodeFlow.Builder |
AuthorizationCodeFlow.Builder.setRequestInitializer(com.google.api.client.http.HttpRequestInitializer requestInitializer) |
Sets the HTTP request initializer or
null for none. |
AuthorizationCodeFlow.Builder |
AuthorizationCodeFlow.Builder.setScopes(Collection<String> scopes) |
Sets the collection of scopes.
|
AuthorizationCodeFlow.Builder |
AuthorizationCodeFlow.Builder.setTokenServerUrl(com.google.api.client.http.GenericUrl tokenServerUrl) |
Sets the token server URL.
|
AuthorizationCodeFlow.Builder |
AuthorizationCodeFlow.Builder.setTransport(com.google.api.client.http.HttpTransport transport) |
Sets the HTTP transport.
|
Constructor | Description |
---|---|
AuthorizationCodeFlow(AuthorizationCodeFlow.Builder builder) |
Copyright © 2011–2019 Google. All rights reserved.