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(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(HttpExecuteInterceptor clientAuthentication) |
GoogleAuthorizationCodeFlow.Builder |
GoogleAuthorizationCodeFlow.Builder.setClientId(String clientId) |
GoogleAuthorizationCodeFlow.Builder |
GoogleAuthorizationCodeFlow.Builder.setClock(Clock clock) |
GoogleAuthorizationCodeFlow.Builder |
GoogleAuthorizationCodeFlow.Builder.setCredentialCreatedListener(AuthorizationCodeFlow.CredentialCreatedListener credentialCreatedListener) |
GoogleAuthorizationCodeFlow.Builder |
GoogleAuthorizationCodeFlow.Builder.setCredentialDataStore(DataStore<StoredCredential> typedDataStore) |
GoogleAuthorizationCodeFlow.Builder |
GoogleAuthorizationCodeFlow.Builder.setCredentialStore(CredentialStore credentialStore)
Deprecated.
|
GoogleAuthorizationCodeFlow.Builder |
GoogleAuthorizationCodeFlow.Builder.setDataStoreFactory(DataStoreFactory dataStore) |
GoogleAuthorizationCodeFlow.Builder |
GoogleAuthorizationCodeFlow.Builder.setJsonFactory(JsonFactory jsonFactory) |
GoogleAuthorizationCodeFlow.Builder |
GoogleAuthorizationCodeFlow.Builder.setMethod(Credential.AccessMethod method) |
GoogleAuthorizationCodeFlow.Builder |
GoogleAuthorizationCodeFlow.Builder.setRefreshListeners(Collection<CredentialRefreshListener> refreshListeners) |
GoogleAuthorizationCodeFlow.Builder |
GoogleAuthorizationCodeFlow.Builder.setRequestInitializer(HttpRequestInitializer requestInitializer) |
GoogleAuthorizationCodeFlow.Builder |
GoogleAuthorizationCodeFlow.Builder.setScopes(Collection<String> scopes) |
GoogleAuthorizationCodeFlow.Builder |
GoogleAuthorizationCodeFlow.Builder.setTokenServerUrl(GenericUrl tokenServerUrl) |
GoogleAuthorizationCodeFlow.Builder |
GoogleAuthorizationCodeFlow.Builder.setTransport(HttpTransport transport) |
Constructor and Description |
---|
GoogleAuthorizationCodeFlow(GoogleAuthorizationCodeFlow.Builder builder) |
Copyright © 2010–2022 Google. All rights reserved.