Package | Description |
---|---|
com.google.api.client.googleapis.auth.oauth2 |
Google's additions to OAuth 2.0 authorization as specified in Using OAuth 2.0 to Access Google
APIs.
|
Modifier and Type | Method and Description |
---|---|
GoogleAuthorizationCodeFlow.Builder |
GoogleAuthorizationCodeFlow.Builder.addRefreshListener(com.google.api.client.auth.oauth2.CredentialRefreshListener refreshListener) |
GoogleAuthorizationCodeFlow.Builder |
GoogleAuthorizationCodeFlow.Builder.setAccessType(String accessType)
Sets the access type (
"online" to request online access or "offline" to
request offline access) or null for the default behavior ("online" for web
applications and "offline" for installed applications). |
GoogleAuthorizationCodeFlow.Builder |
GoogleAuthorizationCodeFlow.Builder.setApprovalPrompt(String approvalPrompt)
Sets the approval prompt behavior (
"auto" to request auto-approval or "force"
to force the approval UI to show) or null for the default behavior ("auto"
for web applications and "force" for installed applications). |
GoogleAuthorizationCodeFlow.Builder |
GoogleAuthorizationCodeFlow.Builder.setAuthorizationServerEncodedUrl(String authorizationServerEncodedUrl) |
GoogleAuthorizationCodeFlow.Builder |
GoogleAuthorizationCodeFlow.Builder.setClientAuthentication(com.google.api.client.http.HttpExecuteInterceptor clientAuthentication) |
GoogleAuthorizationCodeFlow.Builder |
GoogleAuthorizationCodeFlow.Builder.setClientId(String clientId) |
GoogleAuthorizationCodeFlow.Builder |
GoogleAuthorizationCodeFlow.Builder.setClock(com.google.api.client.util.Clock clock) |
GoogleAuthorizationCodeFlow.Builder |
GoogleAuthorizationCodeFlow.Builder.setCredentialCreatedListener(com.google.api.client.auth.oauth2.AuthorizationCodeFlow.CredentialCreatedListener credentialCreatedListener) |
GoogleAuthorizationCodeFlow.Builder |
GoogleAuthorizationCodeFlow.Builder.setCredentialDataStore(com.google.api.client.util.store.DataStore<com.google.api.client.auth.oauth2.StoredCredential> typedDataStore) |
GoogleAuthorizationCodeFlow.Builder |
GoogleAuthorizationCodeFlow.Builder.setCredentialStore(com.google.api.client.auth.oauth2.CredentialStore credentialStore)
Deprecated.
|
GoogleAuthorizationCodeFlow.Builder |
GoogleAuthorizationCodeFlow.Builder.setDataStoreFactory(com.google.api.client.util.store.DataStoreFactory dataStore) |
GoogleAuthorizationCodeFlow.Builder |
GoogleAuthorizationCodeFlow.Builder.setJsonFactory(com.google.api.client.json.JsonFactory jsonFactory) |
GoogleAuthorizationCodeFlow.Builder |
GoogleAuthorizationCodeFlow.Builder.setMethod(com.google.api.client.auth.oauth2.Credential.AccessMethod method) |
GoogleAuthorizationCodeFlow.Builder |
GoogleAuthorizationCodeFlow.Builder.setRefreshListeners(Collection<com.google.api.client.auth.oauth2.CredentialRefreshListener> refreshListeners) |
GoogleAuthorizationCodeFlow.Builder |
GoogleAuthorizationCodeFlow.Builder.setRequestInitializer(com.google.api.client.http.HttpRequestInitializer requestInitializer) |
GoogleAuthorizationCodeFlow.Builder |
GoogleAuthorizationCodeFlow.Builder.setScopes(Collection<String> scopes) |
GoogleAuthorizationCodeFlow.Builder |
GoogleAuthorizationCodeFlow.Builder.setTokenServerUrl(com.google.api.client.http.GenericUrl tokenServerUrl) |
GoogleAuthorizationCodeFlow.Builder |
GoogleAuthorizationCodeFlow.Builder.setTransport(com.google.api.client.http.HttpTransport transport) |
Constructor and Description |
---|
GoogleAuthorizationCodeFlow(GoogleAuthorizationCodeFlow.Builder builder) |
Copyright © 2010–2019 Google. All rights reserved.