Uses of Class
com.google.api.client.auth.oauth2.AuthorizationCodeFlow.Builder
Packages that use AuthorizationCodeFlow.Builder
-
Uses of AuthorizationCodeFlow.Builder in com.google.api.client.auth.oauth2
Methods in com.google.api.client.auth.oauth2 that return AuthorizationCodeFlow.BuilderModifier and TypeMethodDescriptionAuthorizationCodeFlow.Builder.addRefreshListener
(CredentialRefreshListener refreshListener) Adds a listener for refresh token results.AuthorizationCodeFlow.Builder.setAuthorizationServerEncodedUrl
(String authorizationServerEncodedUrl) Sets the authorization server encoded URL.AuthorizationCodeFlow.Builder.setClientAuthentication
(com.google.api.client.http.HttpExecuteInterceptor clientAuthentication) Sets the client authentication ornull
for none (seeTokenRequest.setClientAuthentication(HttpExecuteInterceptor)
).AuthorizationCodeFlow.Builder.setClientId
(String clientId) Sets the client identifier.AuthorizationCodeFlow.Builder.setClock
(com.google.api.client.util.Clock clock) Sets the clock to pass to the Credential.AuthorizationCodeFlow.Builder.setCredentialCreatedListener
(AuthorizationCodeFlow.CredentialCreatedListener credentialCreatedListener) Sets the credential created listener ornull
for none.AuthorizationCodeFlow.Builder.setCredentialDataStore
(com.google.api.client.util.store.DataStore<StoredCredential> credentialDataStore) Beta
Sets the stored credential data store ornull
for none.AuthorizationCodeFlow.Builder.setCredentialStore
(CredentialStore credentialStore) Deprecated.AuthorizationCodeFlow.Builder.setDataStoreFactory
(com.google.api.client.util.store.DataStoreFactory dataStoreFactory) Beta
Sets the data store factory ornull
for none.AuthorizationCodeFlow.Builder.setJsonFactory
(com.google.api.client.json.JsonFactory jsonFactory) Sets the JSON factory.AuthorizationCodeFlow.Builder.setMethod
(Credential.AccessMethod method) Sets the method of presenting the access token to the resource server (for exampleBearerToken.authorizationHeaderAccessMethod()
).AuthorizationCodeFlow.Builder.setRefreshListeners
(Collection<CredentialRefreshListener> refreshListeners) Sets the listeners for refresh token results.AuthorizationCodeFlow.Builder.setRequestInitializer
(com.google.api.client.http.HttpRequestInitializer requestInitializer) Sets the HTTP request initializer ornull
for none.AuthorizationCodeFlow.Builder.setScopes
(Collection<String> scopes) Sets the collection of scopes.AuthorizationCodeFlow.Builder.setTokenServerUrl
(com.google.api.client.http.GenericUrl tokenServerUrl) Sets the token server URL.AuthorizationCodeFlow.Builder.setTransport
(com.google.api.client.http.HttpTransport transport) Sets the HTTP transport.Constructors in com.google.api.client.auth.oauth2 with parameters of type AuthorizationCodeFlow.BuilderModifierConstructorDescriptionprotected
setDataStoreFactory(DataStoreFactory)
orsetCredentialDataStore(DataStore)
instead.