| Package | Description |
|---|---|
| com.google.api.client.auth.oauth2 |
Implementation of the OAuth 2.0 Authorization
Framework.
|
| Modifier and Type | Method and Description |
|---|---|
static Credential.AccessMethod |
BearerToken.authorizationHeaderAccessMethod()
Returns a new instance of an immutable and thread-safe OAuth 2.0 method for accessing protected
resources using the Authorization
Request Header Field.
|
static Credential.AccessMethod |
BearerToken.formEncodedBodyAccessMethod()
Returns a new instance of an immutable and thread-safe OAuth 2.0 method for accessing protected
resources using the Form-Encoded Body
Parameter.
|
Credential.AccessMethod |
AuthorizationCodeFlow.getMethod()
Returns the method of presenting the access token to the resource server (for example
BearerToken.authorizationHeaderAccessMethod()). |
Credential.AccessMethod |
AuthorizationCodeFlow.Builder.getMethod()
Returns the method of presenting the access token to the resource server (for example
BearerToken.authorizationHeaderAccessMethod()). |
Credential.AccessMethod |
Credential.getMethod()
Return the method of presenting the access token to the resource server (for example
BearerToken.AuthorizationHeaderAccessMethod). |
Credential.AccessMethod |
Credential.Builder.getMethod()
Returns the method of presenting the access token to the resource server (for example
BearerToken.AuthorizationHeaderAccessMethod). |
static Credential.AccessMethod |
BearerToken.queryParameterAccessMethod()
Returns a new instance of an immutable and thread-safe OAuth 2.0 method for accessing protected
resources using the URI Query
Parameter.
|
| Modifier and Type | Method and Description |
|---|---|
AuthorizationCodeFlow.Builder |
AuthorizationCodeFlow.Builder.setMethod(Credential.AccessMethod method)
Sets the method of presenting the access token to the resource server (for example
BearerToken.authorizationHeaderAccessMethod()). |
| Constructor and Description |
|---|
AuthorizationCodeFlow.Builder(Credential.AccessMethod method,
com.google.api.client.http.HttpTransport transport,
com.google.api.client.json.JsonFactory jsonFactory,
com.google.api.client.http.GenericUrl tokenServerUrl,
com.google.api.client.http.HttpExecuteInterceptor clientAuthentication,
String clientId,
String authorizationServerEncodedUrl) |
AuthorizationCodeFlow(Credential.AccessMethod method,
com.google.api.client.http.HttpTransport transport,
com.google.api.client.json.JsonFactory jsonFactory,
com.google.api.client.http.GenericUrl tokenServerUrl,
com.google.api.client.http.HttpExecuteInterceptor clientAuthentication,
String clientId,
String authorizationServerEncodedUrl) |
AuthorizationCodeFlow(Credential.AccessMethod method,
com.google.api.client.http.HttpTransport transport,
com.google.api.client.json.JsonFactory jsonFactory,
com.google.api.client.http.GenericUrl tokenServerUrl,
com.google.api.client.http.HttpExecuteInterceptor clientAuthentication,
String clientId,
String authorizationServerEncodedUrl,
CredentialStore credentialStore,
com.google.api.client.http.HttpRequestInitializer requestInitializer,
String scopes)
Deprecated.
(scheduled to be removed in 1.15) Use
AuthorizationCodeFlow.AuthorizationCodeFlow(Builder) |
AuthorizationCodeFlow(Credential.AccessMethod method,
com.google.api.client.http.HttpTransport transport,
com.google.api.client.json.JsonFactory jsonFactory,
com.google.api.client.http.GenericUrl tokenServerUrl,
com.google.api.client.http.HttpExecuteInterceptor clientAuthentication,
String clientId,
String authorizationServerEncodedUrl,
CredentialStore credentialStore,
com.google.api.client.http.HttpRequestInitializer requestInitializer,
String scopes,
com.google.api.client.util.Clock clock)
Deprecated.
(scheduled to be removed in 1.15) Use
AuthorizationCodeFlow.AuthorizationCodeFlow(Builder) |
Credential.Builder(Credential.AccessMethod method) |
Credential(Credential.AccessMethod method)
Constructor with the ability to access protected resources, but not refresh tokens.
|
Credential(Credential.AccessMethod method,
com.google.api.client.http.HttpTransport transport,
com.google.api.client.json.JsonFactory jsonFactory,
String tokenServerEncodedUrl,
com.google.api.client.http.HttpExecuteInterceptor clientAuthentication,
com.google.api.client.http.HttpRequestInitializer requestInitializer,
List<CredentialRefreshListener> refreshListeners)
Deprecated.
(scheduled to be removed in 1.15) Use
Credential.Credential(Builder) |
Credential(Credential.AccessMethod method,
com.google.api.client.http.HttpTransport transport,
com.google.api.client.json.JsonFactory jsonFactory,
String tokenServerEncodedUrl,
com.google.api.client.http.HttpExecuteInterceptor clientAuthentication,
com.google.api.client.http.HttpRequestInitializer requestInitializer,
List<CredentialRefreshListener> refreshListeners,
com.google.api.client.util.Clock clock)
Deprecated.
(scheduled to be removed in 1.15) Use
Credential.Credential(Builder) |
Copyright © 2011-2013 Google. All Rights Reserved.