| Package | Description |
|---|---|
| com.google.api.client.auth.oauth2 |
Implementation of the OAuth 2.0 Authorization
Framework.
|
| Modifier and Type | Method and Description |
|---|---|
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.setCredentialStore(CredentialStore credentialStore)
Sets the credential persistence store 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.setRequestInitializer(com.google.api.client.http.HttpRequestInitializer requestInitializer)
Sets the HTTP request initializer or
null for none. |
AuthorizationCodeFlow.Builder |
AuthorizationCodeFlow.Builder.setScopes(Iterable<String> scopes)
Sets the list of scopes or
null for none. |
AuthorizationCodeFlow.Builder |
AuthorizationCodeFlow.Builder.setScopes(String... scopes)
Sets the list of scopes or
null for none. |
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 and Description |
|---|
AuthorizationCodeFlow(AuthorizationCodeFlow.Builder builder) |
Copyright © 2011-2013 Google. All Rights Reserved.