A B C D E F G H I J L M N O P Q R S T U V

A

AbstractOAuthGetToken - Class in com.google.api.client.auth.oauth
Generic OAuth 1.0a URL to request a temporary or long-lived token from an authorization server.
AbstractOAuthGetToken(String) - Constructor for class com.google.api.client.auth.oauth.AbstractOAuthGetToken
 
AccessProtectedResource - Class in com.google.api.client.auth.oauth2.draft10
Deprecated. (scheduled to be removed in 1.9) Use Credential
AccessProtectedResource(String, AccessProtectedResource.Method) - Constructor for class com.google.api.client.auth.oauth2.draft10.AccessProtectedResource
Deprecated. Constructor that uses a non-expired access token.
AccessProtectedResource(String, AccessProtectedResource.Method, HttpTransport, JsonFactory, String, String, String, String) - Constructor for class com.google.api.client.auth.oauth2.draft10.AccessProtectedResource
Deprecated. Constructor to use to be able to refresh token when an access token expires.
AccessProtectedResource.Method - Enum in com.google.api.client.auth.oauth2.draft10
Deprecated. Method of accessing protected resources.
accessToken - Variable in class com.google.api.client.auth.oauth2.draft10.AccessTokenResponse
Deprecated. (REQUIRED) The access token issued by the authorization server.
accessToken - Variable in class com.google.api.client.auth.oauth2.draft10.AuthorizationResponse
Deprecated. (REQUIRED if the end user grants authorization and the response type is "token" or "code_and_token", otherwise MUST NOT be included) The access token issued by the authorization server.
AccessTokenErrorResponse - Class in com.google.api.client.auth.oauth2.draft10
Deprecated. (scheduled to be removed in 1.9) Use TokenErrorResponse
AccessTokenErrorResponse() - Constructor for class com.google.api.client.auth.oauth2.draft10.AccessTokenErrorResponse
Deprecated.  
AccessTokenErrorResponse.KnownError - Enum in com.google.api.client.auth.oauth2.draft10
Deprecated. Error codes listed in Error Codes.
AccessTokenRequest - Class in com.google.api.client.auth.oauth2.draft10
Deprecated. (scheduled to be removed in 1.9) Use TokenRequest
AccessTokenRequest() - Constructor for class com.google.api.client.auth.oauth2.draft10.AccessTokenRequest
Deprecated.  
AccessTokenRequest(HttpTransport, JsonFactory, String) - Constructor for class com.google.api.client.auth.oauth2.draft10.AccessTokenRequest
Deprecated.  
AccessTokenRequest(HttpTransport, JsonFactory, String, String) - Constructor for class com.google.api.client.auth.oauth2.draft10.AccessTokenRequest
Deprecated.  
AccessTokenRequest(HttpTransport, JsonFactory, String, String, String) - Constructor for class com.google.api.client.auth.oauth2.draft10.AccessTokenRequest
Deprecated.  
AccessTokenRequest.AssertionGrant - Class in com.google.api.client.auth.oauth2.draft10
Deprecated. (scheduled to be removed in 1.9) Use TokenRequest
AccessTokenRequest.AssertionGrant() - Constructor for class com.google.api.client.auth.oauth2.draft10.AccessTokenRequest.AssertionGrant
Deprecated.  
AccessTokenRequest.AssertionGrant(HttpTransport, JsonFactory, String, String, String) - Constructor for class com.google.api.client.auth.oauth2.draft10.AccessTokenRequest.AssertionGrant
Deprecated.  
AccessTokenRequest.AuthorizationCodeGrant - Class in com.google.api.client.auth.oauth2.draft10
Deprecated. (scheduled to be removed in 1.9) Use AuthorizationCodeTokenRequest
AccessTokenRequest.AuthorizationCodeGrant() - Constructor for class com.google.api.client.auth.oauth2.draft10.AccessTokenRequest.AuthorizationCodeGrant
Deprecated.  
AccessTokenRequest.AuthorizationCodeGrant(HttpTransport, JsonFactory, String, String, String, String, String) - Constructor for class com.google.api.client.auth.oauth2.draft10.AccessTokenRequest.AuthorizationCodeGrant
Deprecated.  
AccessTokenRequest.GrantType - Enum in com.google.api.client.auth.oauth2.draft10
Deprecated. Access grant type.
AccessTokenRequest.RefreshTokenGrant - Class in com.google.api.client.auth.oauth2.draft10
Deprecated. (scheduled to be removed in 1.9) Use RefreshTokenRequest
AccessTokenRequest.RefreshTokenGrant() - Constructor for class com.google.api.client.auth.oauth2.draft10.AccessTokenRequest.RefreshTokenGrant
Deprecated.  
AccessTokenRequest.RefreshTokenGrant(HttpTransport, JsonFactory, String, String, String, String) - Constructor for class com.google.api.client.auth.oauth2.draft10.AccessTokenRequest.RefreshTokenGrant
Deprecated.  
AccessTokenRequest.ResourceOwnerPasswordCredentialsGrant - Class in com.google.api.client.auth.oauth2.draft10
Deprecated. (scheduled to be removed in 1.9) Use TokenRequest
AccessTokenRequest.ResourceOwnerPasswordCredentialsGrant() - Constructor for class com.google.api.client.auth.oauth2.draft10.AccessTokenRequest.ResourceOwnerPasswordCredentialsGrant
Deprecated.  
AccessTokenRequest.ResourceOwnerPasswordCredentialsGrant(HttpTransport, JsonFactory, String, String, String, String, String) - Constructor for class com.google.api.client.auth.oauth2.draft10.AccessTokenRequest.ResourceOwnerPasswordCredentialsGrant
Deprecated.  
AccessTokenResponse - Class in com.google.api.client.auth.oauth2.draft10
Deprecated. (scheduled to be removed in 1.9) Use TokenResponse
AccessTokenResponse() - Constructor for class com.google.api.client.auth.oauth2.draft10.AccessTokenResponse
Deprecated.  
addRefreshListener(CredentialRefreshListener) - Method in class com.google.api.client.auth.oauth2.Credential.Builder
Adds a listener for refresh token results.
assertion - Variable in class com.google.api.client.auth.oauth2.draft10.AccessTokenRequest.AssertionGrant
Deprecated. (REQUIRED) The assertion.
assertionType - Variable in class com.google.api.client.auth.oauth2.draft10.AccessTokenRequest.AssertionGrant
Deprecated. (REQUIRED) The format of the assertion as defined by the authorization server.
AuthorizationCodeFlow - Class in com.google.api.client.auth.oauth2
Thread-safe OAuth 2.0 authorization code flow that manages and persists end-user credentials.
AuthorizationCodeFlow(Credential.AccessMethod, HttpTransport, JsonFactory, GenericUrl, HttpExecuteInterceptor, String, String, CredentialStore, HttpRequestInitializer, String) - Constructor for class com.google.api.client.auth.oauth2.AuthorizationCodeFlow
 
AuthorizationCodeFlow.Builder - Class in com.google.api.client.auth.oauth2
Authorization code flow builder.
AuthorizationCodeFlow.Builder(Credential.AccessMethod, HttpTransport, JsonFactory, GenericUrl, HttpExecuteInterceptor, String, String) - Constructor for class com.google.api.client.auth.oauth2.AuthorizationCodeFlow.Builder
 
AuthorizationCodeRequestUrl - Class in com.google.api.client.auth.oauth2
OAuth 2.0 URL builder for an authorization web page to allow the end user to authorize the application to access their protected resources and that returns an authorization code, as specified in Authorization Code Grant.
AuthorizationCodeRequestUrl(String, String) - Constructor for class com.google.api.client.auth.oauth2.AuthorizationCodeRequestUrl
 
AuthorizationCodeResponseUrl - Class in com.google.api.client.auth.oauth2
OAuth 2.0 URL parser for the redirect URL after end user grants or denies authorization as specified in Authorization Response.
AuthorizationCodeResponseUrl(String) - Constructor for class com.google.api.client.auth.oauth2.AuthorizationCodeResponseUrl
 
AuthorizationCodeTokenRequest - Class in com.google.api.client.auth.oauth2
OAuth 2.0 request for an access token using an authorization code as specified in Access Token Request.
AuthorizationCodeTokenRequest(HttpTransport, JsonFactory, GenericUrl, String) - Constructor for class com.google.api.client.auth.oauth2.AuthorizationCodeTokenRequest
 
authorizationHeaderAccessMethod() - Static method in class com.google.api.client.auth.oauth2.BearerToken
Returns a new instance of an immutable and thread-safe OAuth 2.0 method for accessing protected resources using the Authorization Request Header Field.
AuthorizationRequestUrl - Class in com.google.api.client.auth.oauth2
OAuth 2.0 URL builder for an authorization web page to allow the end user to authorize the application to access their protected resources, as specified in Authorization Endpoint.
AuthorizationRequestUrl(String, String, Iterable<String>) - Constructor for class com.google.api.client.auth.oauth2.AuthorizationRequestUrl
 
AuthorizationRequestUrl - Class in com.google.api.client.auth.oauth2.draft10
Deprecated. (scheduled to be removed in 1.9) Use AuthorizationCodeRequestUrl or BrowserClientRequestUrl or AuthorizationRequestUrl
AuthorizationRequestUrl(String) - Constructor for class com.google.api.client.auth.oauth2.draft10.AuthorizationRequestUrl
Deprecated.  
AuthorizationRequestUrl(String, String) - Constructor for class com.google.api.client.auth.oauth2.draft10.AuthorizationRequestUrl
Deprecated.  
AuthorizationRequestUrl.ResponseType - Enum in com.google.api.client.auth.oauth2.draft10
Deprecated. Response type enumeration that may be used for setting the AuthorizationRequestUrl.responseType.
AuthorizationResponse - Class in com.google.api.client.auth.oauth2.draft10
Deprecated. (scheduled to be removed in 1.9) Use AuthorizationCodeResponseUrl
AuthorizationResponse(String) - Constructor for class com.google.api.client.auth.oauth2.draft10.AuthorizationResponse
Deprecated.  
AuthorizationResponse.KnownError - Enum in com.google.api.client.auth.oauth2.draft10
Deprecated. Error codes listed in Error Codes.
authorizationServerUrl - Variable in class com.google.api.client.auth.oauth2.draft10.AccessTokenRequest
Deprecated. (REQUIRED) Encoded authorization server URL.

B

BearerToken - Class in com.google.api.client.auth.oauth2
OAuth 2.0 helper for accessing protected resources using the Bearer Token specification.
BearerToken() - Constructor for class com.google.api.client.auth.oauth2.BearerToken
 
BrowserClientRequestUrl - Class in com.google.api.client.auth.oauth2
OAuth 2.0 URL builder for an authorization web page to allow the end user to authorize the application to access their protected resources and that returns the access token to a browser client using a scripting language such as JavaScript, as specified in Implicit Grant.
BrowserClientRequestUrl(String, String) - Constructor for class com.google.api.client.auth.oauth2.BrowserClientRequestUrl
 
build() - Method in class com.google.api.client.auth.oauth2.AuthorizationCodeFlow.Builder
Returns a new instance of an authorization code flow based on this builder.
build() - Method in class com.google.api.client.auth.oauth2.Credential.Builder
Returns a new credential instance.

C

callback - Variable in class com.google.api.client.auth.oauth.OAuthGetTemporaryToken
Optional absolute URI back to which the server will redirect the resource owner when the Resource Owner Authorization step is completed or null for none.
callback - Variable in class com.google.api.client.auth.oauth.OAuthParameters
Absolute URI back to which the server will redirect the resource owner when the Resource Owner Authorization step is completed.
callbackConfirmed - Variable in class com.google.api.client.auth.oauth.OAuthCredentialsResponse
"true" for temporary credentials request or null for a token credentials request.
clientId - Variable in class com.google.api.client.auth.oauth2.draft10.AccessTokenRequest
Deprecated. (REQUIRED, unless the client identity can be establish via other means, for example assertion) The client identifier or null for none.
clientId - Variable in class com.google.api.client.auth.oauth2.draft10.AuthorizationRequestUrl
Deprecated. (REQUIRED) The client identifier.
ClientParametersAuthentication - Class in com.google.api.client.auth.oauth2
Client credentials specified as URL-encoded parameters in the HTTP request body as specified in Client Password
ClientParametersAuthentication(String, String) - Constructor for class com.google.api.client.auth.oauth2.ClientParametersAuthentication
 
clientSecret - Variable in class com.google.api.client.auth.oauth2.draft10.AccessTokenRequest
Deprecated. (REQUIRED) The client secret.
clientSharedSecret - Variable in class com.google.api.client.auth.oauth.OAuthHmacSigner
Client-shared secret or null for none.
code - Variable in class com.google.api.client.auth.oauth2.draft10.AccessTokenRequest.AuthorizationCodeGrant
Deprecated. (REQUIRED) The authorization code received from the authorization server.
code - Variable in class com.google.api.client.auth.oauth2.draft10.AuthorizationResponse
Deprecated. (REQUIRED if the end user grants authorization and the response type is "code" or "code_and_token", otherwise MUST NOT be included) The authorization code generated by the authorization server.
com.google.api.client.auth.jsontoken - package com.google.api.client.auth.jsontoken
JSON Web Token (JWT) and JSON Web Signature (JWS).
com.google.api.client.auth.oauth - package com.google.api.client.auth.oauth
OAuth 1.0 authorization as specified in RFC 5849: The OAuth 1.0 Protocol (see detailed package specification).
com.google.api.client.auth.oauth2 - package com.google.api.client.auth.oauth2
OAuth 2.0 authorization as specified in the OAuth 2.0 Protocol.
com.google.api.client.auth.oauth2.draft10 - package com.google.api.client.auth.oauth2.draft10
OAuth 2.0 (draft 10) authorization as specified in The OAuth 2.0 Protocol (draft-ietf-oauth-v2-10) (see detailed package specification).
com.google.api.client.auth.openidconnect - package com.google.api.client.auth.openidconnect
OpenID Connect.
com.google.api.client.auth.security - package com.google.api.client.auth.security
Utilities for security and cryptography.
computeNonce() - Method in class com.google.api.client.auth.oauth.OAuthParameters
Computes a nonce based on the hex string of a random non-negative long, setting the value of the OAuthParameters.nonce field.
computeSignature(String) - Method in class com.google.api.client.auth.oauth.OAuthHmacSigner
 
computeSignature(String, GenericUrl) - Method in class com.google.api.client.auth.oauth.OAuthParameters
Computes a new signature based on the fields and the given request method and URL, setting the values of the OAuthParameters.signature and OAuthParameters.signatureMethod fields.
computeSignature(String) - Method in class com.google.api.client.auth.oauth.OAuthRsaSigner
 
computeSignature(String) - Method in interface com.google.api.client.auth.oauth.OAuthSigner
Returns the signature computed from the given signature base string.
computeTimestamp() - Method in class com.google.api.client.auth.oauth.OAuthParameters
Computes a timestamp based on the current system time, setting the value of the OAuthParameters.timestamp field.
consumerKey - Variable in class com.google.api.client.auth.oauth.AbstractOAuthGetToken
Required identifier portion of the client credentials (equivalent to a username).
consumerKey - Variable in class com.google.api.client.auth.oauth.OAuthParameters
Required identifier portion of the client credentials (equivalent to a username).
createAndStoreCredential(TokenResponse, String) - Method in class com.google.api.client.auth.oauth2.AuthorizationCodeFlow
Creates a new credential for the given user ID based on the given token response and store in the credential store.
createParameters() - Method in class com.google.api.client.auth.oauth.AbstractOAuthGetToken
Returns a new instance of the OAuth authentication provider.
createParameters() - Method in class com.google.api.client.auth.oauth.OAuthGetAccessToken
 
createParameters() - Method in class com.google.api.client.auth.oauth.OAuthGetTemporaryToken
 
Credential - Class in com.google.api.client.auth.oauth2
Thread-safe OAuth 2.0 helper for accessing protected resources using an access token, as well as optionally refreshing the access token when it expires using a refresh token.
Credential(Credential.AccessMethod) - Constructor for class com.google.api.client.auth.oauth2.Credential
Constructor with the ability to access protected resources, but not refresh tokens.
Credential(Credential.AccessMethod, HttpTransport, JsonFactory, String, HttpExecuteInterceptor, HttpRequestInitializer, List<CredentialRefreshListener>) - Constructor for class com.google.api.client.auth.oauth2.Credential
 
Credential.AccessMethod - Interface in com.google.api.client.auth.oauth2
Method of presenting the access token to the resource server as specified in Accessing Protected Resources.
Credential.Builder - Class in com.google.api.client.auth.oauth2
Credential builder.
Credential.Builder(Credential.AccessMethod) - Constructor for class com.google.api.client.auth.oauth2.Credential.Builder
 
CredentialRefreshListener - Interface in com.google.api.client.auth.oauth2
Listener for refresh token results.
CredentialStore - Interface in com.google.api.client.auth.oauth2
OAuth 2.0 credential persistence store interface to provide a fully pluggable storage mechanism.
CredentialStoreRefreshListener - Class in com.google.api.client.auth.oauth2
Thread-safe OAuth 2.0 credential refresh listener that stores the refresh token response in the credential store.
CredentialStoreRefreshListener(String, CredentialStore) - Constructor for class com.google.api.client.auth.oauth2.CredentialStoreRefreshListener
 

D

delete(String, Credential) - Method in interface com.google.api.client.auth.oauth2.CredentialStore
Deletes the credential of the given user ID.
delete(String, Credential) - Method in class com.google.api.client.auth.oauth2.MemoryCredentialStore
 

E

error - Variable in class com.google.api.client.auth.oauth2.draft10.AccessTokenErrorResponse
Deprecated. (REQUIRED) A single error code.
error - Variable in class com.google.api.client.auth.oauth2.draft10.AuthorizationResponse
Deprecated. (REQUIRED if the end user denies authorization) A single error code.
errorDescription - Variable in class com.google.api.client.auth.oauth2.draft10.AccessTokenErrorResponse
Deprecated. (OPTIONAL) A human-readable text providing additional information, used to assist in the understanding and resolution of the error occurred.
errorDescription - Variable in class com.google.api.client.auth.oauth2.draft10.AuthorizationResponse
Deprecated. (OPTIONAL) A human-readable text providing additional information, used to assist in the understanding and resolution of the error occurred.
errorUri - Variable in class com.google.api.client.auth.oauth2.draft10.AccessTokenErrorResponse
Deprecated. (OPTIONAL) A URI identifying a human-readable web page with information about the error, used to provide the end-user with additional information about the error.
errorUri - Variable in class com.google.api.client.auth.oauth2.draft10.AuthorizationResponse
Deprecated. (OPTIONAL) A URI identifying a human-readable web page with information about the error, used to provide the end-user with additional information about the error.
escape(String) - Static method in class com.google.api.client.auth.oauth.OAuthParameters
Returns the escaped form of the given value using OAuth escaping rules.
execute() - Method in class com.google.api.client.auth.oauth.AbstractOAuthGetToken
Executes the HTTP request for a temporary or long-lived token.
execute() - Method in class com.google.api.client.auth.oauth2.draft10.AccessTokenRequest
Deprecated. Executes request for an access token, and returns the parsed access token response.
execute() - Method in class com.google.api.client.auth.oauth2.TokenRequest
Executes request for an access token, and returns the parsed access token response.
execute(TokenRequest) - Static method in class com.google.api.client.auth.openidconnect.IdTokenResponse
Executes the given ID token request, and returns the parsed ID token response.
executeAccessTokenRequest(AccessTokenRequest) - Method in class com.google.api.client.auth.oauth2.draft10.AccessProtectedResource
Deprecated. Executes the given access token request and calls AccessProtectedResource.setAccessToken(String) to the access token from the response or null for an error response (whose error message is silently ignored).
executeRefreshToken() - Method in class com.google.api.client.auth.oauth2.Credential
Executes a request for new credentials from the token server.
executeRefreshToken() - Method in class com.google.api.client.auth.oauth2.draft10.AccessProtectedResource
Deprecated. Request a new access token from the authorization endpoint.
executeUnparsed() - Method in class com.google.api.client.auth.oauth2.draft10.AccessTokenRequest
Deprecated. Executes request for an access token, and returns the HTTP response.
executeUnparsed() - Method in class com.google.api.client.auth.oauth2.TokenRequest
Executes request for an access token, and returns the HTTP response.
expiresIn - Variable in class com.google.api.client.auth.oauth2.draft10.AccessTokenResponse
Deprecated. (OPTIONAL) The duration in seconds of the access token lifetime.
expiresIn - Variable in class com.google.api.client.auth.oauth2.draft10.AuthorizationResponse
Deprecated. (OPTIONAL) The duration in seconds of the access token lifetime if an access token is included.

F

formEncodedBodyAccessMethod() - Static method in class com.google.api.client.auth.oauth2.BearerToken
Returns a new instance of an immutable and thread-safe OAuth 2.0 method for accessing protected resources using the Form-Encoded Body Parameter.
from(JsonFactory, HttpResponse) - Static method in exception com.google.api.client.auth.oauth2.TokenResponseException
Returns a new instance of TokenResponseException.

G

getAccessToken() - Method in class com.google.api.client.auth.oauth2.Credential
Returns the access token or null for none.
getAccessToken() - Method in class com.google.api.client.auth.oauth2.draft10.AccessProtectedResource
Deprecated. Returns the access token or null for none.
getAccessToken() - Method in class com.google.api.client.auth.oauth2.TokenResponse
Returns the access token issued by the authorization server.
getAccessTokenFromRequest(HttpRequest) - Method in interface com.google.api.client.auth.oauth2.Credential.AccessMethod
Retrieve the original access token in the HTTP request, as provided in Credential.AccessMethod.intercept(HttpRequest, String).
getAlgorithm() - Method in class com.google.api.client.auth.jsontoken.JsonWebSignature.Header
Returns the algorithm header parameter that identifies the cryptographic algorithm used to secure the JWS or null for none.
getAudience() - Method in class com.google.api.client.auth.jsontoken.JsonWebToken.Payload
Returns the audience claim that identifies the audience that the JWT is intended for or null for none.
getAuthorizationHeader() - Method in class com.google.api.client.auth.oauth.OAuthParameters
Returns the Authorization header value to use with the OAuth parameter values found in the fields.
getAuthorizationServerEncodedUrl() - Method in class com.google.api.client.auth.oauth2.AuthorizationCodeFlow.Builder
Returns the authorization server encoded URL.
getAuthorizationServerEncodedUrl() - Method in class com.google.api.client.auth.oauth2.AuthorizationCodeFlow
Returns the authorization server encoded URL.
getAuthorizationServerUrl() - Method in class com.google.api.client.auth.oauth2.draft10.AccessProtectedResource
Deprecated. Returns the encoded authorization server URL or null for none.
getClientAuthentication() - Method in class com.google.api.client.auth.oauth2.AuthorizationCodeFlow.Builder
Returns the client authentication or null for none (see TokenRequest.setClientAuthentication(HttpExecuteInterceptor)).
getClientAuthentication() - Method in class com.google.api.client.auth.oauth2.AuthorizationCodeFlow
Returns the client authentication or null for none (see TokenRequest.setClientAuthentication(HttpExecuteInterceptor)).
getClientAuthentication() - Method in class com.google.api.client.auth.oauth2.Credential.Builder
Returns the client authentication or null for none (see TokenRequest.setClientAuthentication(HttpExecuteInterceptor)).
getClientAuthentication() - Method in class com.google.api.client.auth.oauth2.Credential
Returns the client authentication or null for none.
getClientAuthentication() - Method in class com.google.api.client.auth.oauth2.TokenRequest
Returns the client authentication or null for none.
getClientId() - Method in class com.google.api.client.auth.oauth2.AuthorizationCodeFlow.Builder
Returns the client identifier.
getClientId() - Method in class com.google.api.client.auth.oauth2.AuthorizationCodeFlow
Returns the client identifier.
getClientId() - Method in class com.google.api.client.auth.oauth2.AuthorizationRequestUrl
Returns the client identifier.
getClientId() - Method in class com.google.api.client.auth.oauth2.ClientParametersAuthentication
Returns the client identifier issued to the client during the registration process.
getClientId() - Method in class com.google.api.client.auth.oauth2.draft10.AccessProtectedResource
Deprecated. Returns the client identifier or null for none.
getClientSecret() - Method in class com.google.api.client.auth.oauth2.ClientParametersAuthentication
Returns the client secret.
getClientSecret() - Method in class com.google.api.client.auth.oauth2.draft10.AccessProtectedResource
Deprecated. Returns the client secret or null for none.
getCode() - Method in class com.google.api.client.auth.oauth2.AuthorizationCodeResponseUrl
Returns the authorization code generated by the authorization server or null for none.
getCode() - Method in class com.google.api.client.auth.oauth2.AuthorizationCodeTokenRequest
Returns the authorization code generated by the authorization server.
getCredentialStore() - Method in class com.google.api.client.auth.oauth2.AuthorizationCodeFlow.Builder
Returns the credential persistence store or null for none.
getCredentialStore() - Method in class com.google.api.client.auth.oauth2.AuthorizationCodeFlow
Returns the credential persistence store or null for none.
getCredentialStore() - Method in class com.google.api.client.auth.oauth2.CredentialStoreRefreshListener
Returns the credential store.
getDetails() - Method in exception com.google.api.client.auth.oauth2.TokenResponseException
Returns the token error response details or null if unable to parse.
getError() - Method in class com.google.api.client.auth.oauth2.AuthorizationCodeResponseUrl
Returns the error code ("invalid_request", "unauthorized_client", "access_denied", "unsupported_response_type", "invalid_scope", "server_error", "temporarily_unavailable", or an extension error code as specified in Defining Additional Error Codes) or null for none.
getError() - Method in class com.google.api.client.auth.oauth2.TokenErrorResponse
Returns the error code ("invalid_request", "invalid_client", "invalid_grant", "unauthorized_client", "unsupported_grant_type", "invalid_scope", or an extension error code as specified in Defining Additional Error Codes).
getErrorCodeIfKnown() - Method in class com.google.api.client.auth.oauth2.draft10.AccessTokenErrorResponse
Deprecated. Returns a known error code if AccessTokenErrorResponse.error is one of the error codes listed in the OAuth 2 specification or null if the AccessTokenErrorResponse.error is null or not known.
getErrorCodeIfKnown() - Method in class com.google.api.client.auth.oauth2.draft10.AuthorizationResponse
Deprecated. Returns a known error code if AuthorizationResponse.error is one of the error codes listed in the OAuth 2 specification or null if the AuthorizationResponse.error is null or not known.
getErrorDescription() - Method in class com.google.api.client.auth.oauth2.AuthorizationCodeResponseUrl
Returns the human-readable text providing additional information used to assist the client developer in understanding the error that occurred or null for none.
getErrorDescription() - Method in class com.google.api.client.auth.oauth2.TokenErrorResponse
Returns the human-readable text providing additional information, used to assist the client developer in understanding the error that occurred or null for none.
getErrorUri() - Method in class com.google.api.client.auth.oauth2.AuthorizationCodeResponseUrl
Returns the URI identifying a human-readable web page with information about the error used to provide the client developer with additional information about the error or null for none.
getErrorUri() - Method in class com.google.api.client.auth.oauth2.TokenErrorResponse
Returns the URI identifying a human-readable web page with information about the error, used to provide the client developer with additional information about the error or null for none.
getExpirationTimeMilliseconds() - Method in class com.google.api.client.auth.oauth2.Credential
Expected expiration time in milliseconds or null for none.
getExpirationTimeSeconds() - Method in class com.google.api.client.auth.jsontoken.JsonWebToken.Payload
Returns the expiration time (in seconds) claim that identifies the expiration time on or after which the token MUST NOT be accepted for processing or null for none.
getExpiresInSeconds() - Method in class com.google.api.client.auth.oauth2.Credential
Returns the remaining lifetime in seconds of the access token (for example 3600 for an hour, or -3600 if expired an hour ago) or null if unknown.
getExpiresInSeconds() - Method in class com.google.api.client.auth.oauth2.TokenResponse
Returns the lifetime in seconds of the access token (for example 3600 for an hour) or null for none.
getGrantType() - Method in class com.google.api.client.auth.oauth2.TokenRequest
Returns the grant type ("authorization_code", "password", "client_credentials", "refresh_token" or absolute URI of the extension grant type).
getHeader() - Method in class com.google.api.client.auth.jsontoken.JsonWebSignature
 
getHeader() - Method in class com.google.api.client.auth.jsontoken.JsonWebToken
Returns the header.
getHeaderClass() - Method in class com.google.api.client.auth.jsontoken.JsonWebSignature.Parser
Returns the header class to use for parsing.
getIdToken() - Method in class com.google.api.client.auth.openidconnect.IdTokenResponse
Returns the ID token.
getIssuedAtTimeSeconds() - Method in class com.google.api.client.auth.jsontoken.JsonWebToken.Payload
Returns the issued at claim that identifies the time (in seconds) at which the JWT was issued or null for none.
getIssuer() - Method in class com.google.api.client.auth.jsontoken.JsonWebToken.Payload
Returns the issuer claim that identifies the principal that issued the JWT or null for none.
getJsonFactory() - Method in class com.google.api.client.auth.jsontoken.JsonWebSignature.Parser
Returns the JSON factory.
getJsonFactory() - Method in class com.google.api.client.auth.oauth2.AuthorizationCodeFlow.Builder
Returns the JSON factory.
getJsonFactory() - Method in class com.google.api.client.auth.oauth2.AuthorizationCodeFlow
Returns the JSON factory.
getJsonFactory() - Method in class com.google.api.client.auth.oauth2.Credential.Builder
Returns the JSON factory to use for parsing response for refresh token request or null if not refreshing tokens.
getJsonFactory() - Method in class com.google.api.client.auth.oauth2.Credential
Returns the JSON factory to use for parsing response for refresh token request or null for none.
getJsonFactory() - Method in class com.google.api.client.auth.oauth2.draft10.AccessProtectedResource
Deprecated. Returns the JSON factory to use for parsing response for refresh token request or null for none.
getJsonFactory() - Method in class com.google.api.client.auth.oauth2.TokenRequest
Returns the JSON factory.
getJwkUrl() - Method in class com.google.api.client.auth.jsontoken.JsonWebSignature.Header
Returns the JSON Web Key URL header parameter that is an absolute URL that refers to a resource for a set of JSON-encoded public keys, one of which corresponds to the key that was used to digitally sign the JWS or null for none.
getJwtId() - Method in class com.google.api.client.auth.jsontoken.JsonWebToken.Payload
Returns the JWT ID claim that provides a unique identifier for the JWT or null for none.
getKeyId() - Method in class com.google.api.client.auth.jsontoken.JsonWebSignature.Header
Returns the key ID header parameter that is a hint indicating which specific key owned by the signer should be used to validate the digital signature or null for none.
getMethod() - Method in class com.google.api.client.auth.oauth2.AuthorizationCodeFlow.Builder
Returns the method of presenting the access token to the resource server (for example BearerToken.authorizationHeaderAccessMethod()).
getMethod() - Method in class com.google.api.client.auth.oauth2.AuthorizationCodeFlow
Returns the method of presenting the access token to the resource server (for example BearerToken.authorizationHeaderAccessMethod()).
getMethod() - Method in class com.google.api.client.auth.oauth2.Credential.Builder
Returns the method of presenting the access token to the resource server (for example BearerToken.AuthorizationHeaderAccessMethod).
getMethod() - Method in class com.google.api.client.auth.oauth2.Credential
Return the method of presenting the access token to the resource server (for example BearerToken.AuthorizationHeaderAccessMethod).
getMethod() - Method in class com.google.api.client.auth.oauth2.draft10.AccessProtectedResource
Deprecated. Returns the method of accessing protected resources.
getNotBeforeTimeSeconds() - Method in class com.google.api.client.auth.jsontoken.JsonWebToken.Payload
Returns the not before claim that identifies the time (in seconds) before which the token MUST NOT be accepted for processing or null for none.
getPayload() - Method in class com.google.api.client.auth.jsontoken.JsonWebToken
Returns the payload.
getPayloadClass() - Method in class com.google.api.client.auth.jsontoken.JsonWebSignature.Parser
Returns the payload class to use for parsing.
getPrincipal() - Method in class com.google.api.client.auth.jsontoken.JsonWebToken.Payload
Returns the principal claim that identifies the subject of the JWT or null for none.
getRedirectUri() - Method in class com.google.api.client.auth.oauth2.AuthorizationCodeTokenRequest
Returns the redirect URI parameter matching the redirect URI parameter in the authorization request or null for none.
getRedirectUri() - Method in class com.google.api.client.auth.oauth2.AuthorizationRequestUrl
Returns the URI that the authorization server directs the resource owner's user-agent back to the client after a successful authorization grant (as specified in Redirection Endpoint) or null for none.
getRefreshListeners() - Method in class com.google.api.client.auth.oauth2.Credential.Builder
Returns the listeners for refresh token results or null for none.
getRefreshListeners() - Method in class com.google.api.client.auth.oauth2.Credential
Returns the unmodifiable list of listeners for refresh token results.
getRefreshToken() - Method in class com.google.api.client.auth.oauth2.Credential
Returns the refresh token associated with the access token to be refreshed or null for none.
getRefreshToken() - Method in class com.google.api.client.auth.oauth2.draft10.AccessProtectedResource
Deprecated. Returns the refresh token associated with the access token to be refreshed or null for none.
getRefreshToken() - Method in class com.google.api.client.auth.oauth2.RefreshTokenRequest
Returns the refresh token issued to the client.
getRefreshToken() - Method in class com.google.api.client.auth.oauth2.TokenResponse
Returns the refresh token which can be used to obtain new access tokens using the same authorization grant or null for none.
getRequestInitializer() - Method in class com.google.api.client.auth.oauth2.AuthorizationCodeFlow.Builder
Returns the HTTP request initializer or null for none.
getRequestInitializer() - Method in class com.google.api.client.auth.oauth2.AuthorizationCodeFlow
Returns the HTTP request initializer or null for none.
getRequestInitializer() - Method in class com.google.api.client.auth.oauth2.Credential.Builder
Returns the HTTP request initializer for refresh token requests to the token server or null for none.
getRequestInitializer() - Method in class com.google.api.client.auth.oauth2.Credential
Returns the HTTP request initializer for refresh token requests to the token server or null for none.
getRequestInitializer() - Method in class com.google.api.client.auth.oauth2.TokenRequest
Returns the HTTP request initializer or null for none.
getResponseTypes() - Method in class com.google.api.client.auth.oauth2.AuthorizationRequestUrl
Returns the space-separated list of response types, each of which must be "code", "token", or a registered extension value (as specified in Response Type).
getScope() - Method in class com.google.api.client.auth.oauth2.TokenResponse
Returns the scope of the access token or null for none.
getScopes() - Method in class com.google.api.client.auth.oauth2.AuthorizationCodeFlow.Builder
Returns the space-separated list of scopes or null for none.
getScopes() - Method in class com.google.api.client.auth.oauth2.AuthorizationCodeFlow
Returns the space-separated list of scopes or null for none.
getScopes() - Method in class com.google.api.client.auth.oauth2.AuthorizationRequestUrl
Returns the space-separated list of scopes (as specified in Access Token Scope) or null for none.
getScopes() - Method in class com.google.api.client.auth.oauth2.TokenRequest
Returns the space-separated list of scopes (as specified in Access Token Scope) or null for none.
getSignatureBytes() - Method in class com.google.api.client.auth.jsontoken.JsonWebSignature
Returns the bytes of the signature.
getSignatureMethod() - Method in class com.google.api.client.auth.oauth.OAuthHmacSigner
 
getSignatureMethod() - Method in class com.google.api.client.auth.oauth.OAuthRsaSigner
 
getSignatureMethod() - Method in interface com.google.api.client.auth.oauth.OAuthSigner
Returns the signature method.
getSignedContentBytes() - Method in class com.google.api.client.auth.jsontoken.JsonWebSignature
Returns the bytes of the signature content.
getState() - Method in class com.google.api.client.auth.oauth2.AuthorizationCodeResponseUrl
Returns the state parameter matching the state parameter in the authorization request or null for none.
getState() - Method in class com.google.api.client.auth.oauth2.AuthorizationRequestUrl
Returns the state (an opaque value used by the client to maintain state between the request and callback, as mentioned in Registration Requirements) or null for none.
getTokenServerEncodedUrl() - Method in class com.google.api.client.auth.oauth2.AuthorizationCodeFlow
Returns the token server encoded URL.
getTokenServerEncodedUrl() - Method in class com.google.api.client.auth.oauth2.Credential
Returns the encoded authorization server URL or null for none.
getTokenServerUrl() - Method in class com.google.api.client.auth.oauth2.AuthorizationCodeFlow.Builder
Returns the token server URL.
getTokenServerUrl() - Method in class com.google.api.client.auth.oauth2.Credential.Builder
Returns the token server URL or null if not refreshing tokens.
getTokenServerUrl() - Method in class com.google.api.client.auth.oauth2.TokenRequest
Returns the token server URL.
getTokenType() - Method in class com.google.api.client.auth.oauth2.TokenResponse
Returns the token type (as specified in Access Token Types).
getTransport() - Method in class com.google.api.client.auth.oauth2.AuthorizationCodeFlow.Builder
Returns the HTTP transport.
getTransport() - Method in class com.google.api.client.auth.oauth2.AuthorizationCodeFlow
Returns the HTTP transport.
getTransport() - Method in class com.google.api.client.auth.oauth2.Credential.Builder
Returns the HTTP transport for executing refresh token request or null if not refreshing tokens.
getTransport() - Method in class com.google.api.client.auth.oauth2.Credential
Return the HTTP transport for executing refresh token request or null for none.
getTransport() - Method in class com.google.api.client.auth.oauth2.draft10.AccessProtectedResource
Deprecated. Return the HTTP transport for executing refresh token request or null for none.
getTransport() - Method in class com.google.api.client.auth.oauth2.TokenRequest
Returns the HTTP transport.
getType() - Method in class com.google.api.client.auth.jsontoken.JsonWebToken.Header
Returns the type header parameter used to declare structural information about the JWT or null for none.
getType() - Method in class com.google.api.client.auth.jsontoken.JsonWebToken.Payload
Returns the type claim that is used to declare a type for the contents of this JWT Claims Set or null for none.
getX509Thumbprint() - Method in class com.google.api.client.auth.jsontoken.JsonWebSignature.Header
Returns the x.509 certificate thumbprint header parameter that provides a base64url encoded SHA-1 thumbprint (a.k.a.
getX509Url() - Method in class com.google.api.client.auth.jsontoken.JsonWebSignature.Header
Returns the X.509 URL header parameter that is an absolute URL that refers to a resource for the X.509 public key certificate or certificate chain corresponding to the key used to digitally sign the JWS or null for none.
grantType - Variable in class com.google.api.client.auth.oauth2.draft10.AccessTokenRequest
Deprecated. (REQUIRED) The access grant type included in the request.

H

handleResponse(HttpRequest, HttpResponse, boolean) - Method in class com.google.api.client.auth.oauth2.Credential
handleResponse(HttpRequest, HttpResponse, boolean) - Method in class com.google.api.client.auth.oauth2.draft10.AccessProtectedResource
Deprecated. 

I

IdTokenResponse - Class in com.google.api.client.auth.openidconnect
OAuth ID Connect JSON model for a successful access token response as specified in OpenID Connect Session Management 1.0.
IdTokenResponse() - Constructor for class com.google.api.client.auth.openidconnect.IdTokenResponse
 
initialize(HttpRequest) - Method in class com.google.api.client.auth.oauth.OAuthParameters
 
initialize(HttpRequest) - Method in class com.google.api.client.auth.oauth2.ClientParametersAuthentication
 
initialize(HttpRequest) - Method in class com.google.api.client.auth.oauth2.Credential
 
initialize(HttpRequest) - Method in class com.google.api.client.auth.oauth2.draft10.AccessProtectedResource
Deprecated.  
InstalledApp - Class in com.google.api.client.auth.oauth2.draft10
Deprecated. (scheduled to be removed in 1.9) Use com.google.api.client.googleapis.auth.oauth2.GoogleOAuthConstants from google-api-java-client
intercept(HttpRequest) - Method in class com.google.api.client.auth.oauth.OAuthParameters
 
intercept(HttpRequest) - Method in class com.google.api.client.auth.oauth2.ClientParametersAuthentication
 
intercept(HttpRequest, String) - Method in interface com.google.api.client.auth.oauth2.Credential.AccessMethod
Intercept the HTTP request during Credential.intercept(HttpRequest) right before the HTTP request executes by providing the access token.
intercept(HttpRequest) - Method in class com.google.api.client.auth.oauth2.Credential
intercept(HttpRequest) - Method in class com.google.api.client.auth.oauth2.draft10.AccessProtectedResource
Deprecated. 
isValidTime(long) - Method in class com.google.api.client.auth.jsontoken.JsonWebToken.Payload
Returns whether the JsonWebToken.Payload.getExpirationTimeSeconds() and JsonWebToken.Payload.getIssuedAtTimeSeconds() are valid relative to the current time, optionally allowing for a clock skew.

J

jsonFactory - Variable in class com.google.api.client.auth.oauth2.draft10.AccessTokenRequest
Deprecated. (REQUIRED) JSON factory to use for parsing response in AccessTokenRequest.execute().
JsonWebSignature - Class in com.google.api.client.auth.jsontoken
JSON Web Signature (JWS).
JsonWebSignature(JsonWebSignature.Header, JsonWebToken.Payload, byte[], byte[]) - Constructor for class com.google.api.client.auth.jsontoken.JsonWebSignature
 
JsonWebSignature.Header - Class in com.google.api.client.auth.jsontoken
Header as specified in Reserved Header Parameter Names.
JsonWebSignature.Header() - Constructor for class com.google.api.client.auth.jsontoken.JsonWebSignature.Header
 
JsonWebSignature.Parser - Class in com.google.api.client.auth.jsontoken
JWS parser.
JsonWebSignature.Parser(JsonFactory) - Constructor for class com.google.api.client.auth.jsontoken.JsonWebSignature.Parser
 
JsonWebToken - Class in com.google.api.client.auth.jsontoken
JSON Web Token (JWT).
JsonWebToken(JsonWebToken.Header, JsonWebToken.Payload) - Constructor for class com.google.api.client.auth.jsontoken.JsonWebToken
 
JsonWebToken.Header - Class in com.google.api.client.auth.jsontoken
Header as specified in JWT Header.
JsonWebToken.Header() - Constructor for class com.google.api.client.auth.jsontoken.JsonWebToken.Header
 
JsonWebToken.Payload - Class in com.google.api.client.auth.jsontoken
Payload as specified in Reserved Claim Names.
JsonWebToken.Payload() - Constructor for class com.google.api.client.auth.jsontoken.JsonWebToken.Payload
 

L

load(String, Credential) - Method in interface com.google.api.client.auth.oauth2.CredentialStore
Loads the credential for the given user ID.
load(String, Credential) - Method in class com.google.api.client.auth.oauth2.MemoryCredentialStore
 
loadCredential(String) - Method in class com.google.api.client.auth.oauth2.AuthorizationCodeFlow
Loads the credential of the given user ID from the credential store.
loadFromKeyStore(InputStream, String, String, String) - Static method in class com.google.api.client.auth.security.PrivateKeys
Retrieves the private key from the specified key store stream using default key store.
loadFromKeyStore(KeyStore, InputStream, String, String, String) - Static method in class com.google.api.client.auth.security.PrivateKeys
Retrieves the private key from the specified key store stream and specified key store.
loadFromP12File(File, String, String, String) - Static method in class com.google.api.client.auth.security.PrivateKeys
Reads a PKCS#12 format private key from a given file.
loadFromPk8File(File) - Static method in class com.google.api.client.auth.security.PrivateKeys
Reads a PKCS#8 format private key from a given file.

M

makePersistent(Credential) - Method in class com.google.api.client.auth.oauth2.CredentialStoreRefreshListener
Stores the updated credential in the credential store.
MemoryCredentialStore - Class in com.google.api.client.auth.oauth2
Thread-safe in-memory implementation of a credential store.
MemoryCredentialStore() - Constructor for class com.google.api.client.auth.oauth2.MemoryCredentialStore
 

N

newAuthorizationUrl() - Method in class com.google.api.client.auth.oauth2.AuthorizationCodeFlow
Returns a new instance of an authorization code request URL.
newTokenRequest(String) - Method in class com.google.api.client.auth.oauth2.AuthorizationCodeFlow
Returns a new instance of an authorization code token request based on the given authorization code.
nonce - Variable in class com.google.api.client.auth.oauth.OAuthParameters
Required nonce value.

O

OAuthAuthorizeTemporaryTokenUrl - Class in com.google.api.client.auth.oauth
OAuth 1.0a URL builder for an authorization web page to allow the end user to authorize the temporary token.
OAuthAuthorizeTemporaryTokenUrl(String) - Constructor for class com.google.api.client.auth.oauth.OAuthAuthorizeTemporaryTokenUrl
 
OAuthCallbackUrl - Class in com.google.api.client.auth.oauth
Generic URL that parses the callback URL after a temporary token has been authorized by the end user.
OAuthCallbackUrl(String) - Constructor for class com.google.api.client.auth.oauth.OAuthCallbackUrl
 
OAuthCredentialsResponse - Class in com.google.api.client.auth.oauth
Data to parse a success response to a request for temporary or token credentials.
OAuthCredentialsResponse() - Constructor for class com.google.api.client.auth.oauth.OAuthCredentialsResponse
 
OAuthGetAccessToken - Class in com.google.api.client.auth.oauth
Generic OAuth 1.0a URL to request to exchange the temporary credentials token (or "request token") for a long-lived credentials token (or "access token") from an authorization server.
OAuthGetAccessToken(String) - Constructor for class com.google.api.client.auth.oauth.OAuthGetAccessToken
 
OAuthGetTemporaryToken - Class in com.google.api.client.auth.oauth
Generic OAuth 1.0a URL to request a temporary credentials token (or "request token") from an authorization server.
OAuthGetTemporaryToken(String) - Constructor for class com.google.api.client.auth.oauth.OAuthGetTemporaryToken
 
OAuthHmacSigner - Class in com.google.api.client.auth.oauth
OAuth "HMAC-SHA1" signature method.
OAuthHmacSigner() - Constructor for class com.google.api.client.auth.oauth.OAuthHmacSigner
 
OAuthParameters - Class in com.google.api.client.auth.oauth
OAuth 1.0a parameter manager.
OAuthParameters() - Constructor for class com.google.api.client.auth.oauth.OAuthParameters
 
OAuthRsaSigner - Class in com.google.api.client.auth.oauth
OAuth "RSA-SHA1" signature method.
OAuthRsaSigner() - Constructor for class com.google.api.client.auth.oauth.OAuthRsaSigner
 
OAuthSigner - Interface in com.google.api.client.auth.oauth
OAuth signature method.
onAccessToken(String) - Method in class com.google.api.client.auth.oauth2.draft10.AccessProtectedResource
Deprecated. Notifies of a new access token.
onTokenErrorResponse(Credential, TokenErrorResponse) - Method in interface com.google.api.client.auth.oauth2.CredentialRefreshListener
Notifies of an error token response from Credential.refreshToken().
onTokenErrorResponse(Credential, TokenErrorResponse) - Method in class com.google.api.client.auth.oauth2.CredentialStoreRefreshListener
 
onTokenResponse(Credential, TokenResponse) - Method in interface com.google.api.client.auth.oauth2.CredentialRefreshListener
Notifies of a successful token response from Credential.refreshToken().
onTokenResponse(Credential, TokenResponse) - Method in class com.google.api.client.auth.oauth2.CredentialStoreRefreshListener
 
OOB_REDIRECT_URI - Static variable in class com.google.api.client.auth.oauth2.draft10.InstalledApp
Deprecated. Redirect URI to use for "Out Of Band", meaning that the end-user is given an access code that they must then enter into the installed application.

P

parse(JsonFactory, String) - Static method in class com.google.api.client.auth.jsontoken.JsonWebSignature
Parses the given JWS token string and returns the parsed JsonWebSignature.
parse(String) - Method in class com.google.api.client.auth.jsontoken.JsonWebSignature.Parser
Parses a JWS token into a parsed JsonWebSignature.
parseIdToken() - Method in class com.google.api.client.auth.openidconnect.IdTokenResponse
Parses using JsonWebSignature.parse(JsonFactory, String) based on the JSON factory and ID token.
parser(JsonFactory) - Static method in class com.google.api.client.auth.jsontoken.JsonWebSignature
Returns a new instance of a JWS parser.
password - Variable in class com.google.api.client.auth.oauth2.draft10.AccessTokenRequest.ResourceOwnerPasswordCredentialsGrant
Deprecated. (REQUIRED) The resource owner's password.
privateKey - Variable in class com.google.api.client.auth.oauth.OAuthRsaSigner
Private key.
PrivateKeys - Class in com.google.api.client.auth.security
Utility methods for private keys.

Q

queryParameterAccessMethod() - Static method in class com.google.api.client.auth.oauth2.BearerToken
Returns a new instance of an immutable and thread-safe OAuth 2.0 method for accessing protected resources using the URI Query Parameter.

R

realm - Variable in class com.google.api.client.auth.oauth.OAuthParameters
Realm.
redirectUri - Variable in class com.google.api.client.auth.oauth2.draft10.AccessTokenRequest.AuthorizationCodeGrant
Deprecated. (REQUIRED) The redirection URI used in the initial request.
redirectUri - Variable in class com.google.api.client.auth.oauth2.draft10.AuthorizationRequestUrl
Deprecated. (REQUIRED, unless a redirection URI has been established between the client and authorization server via other means) An absolute URI to which the authorization server will redirect the user-agent to when the end-user authorization step is completed.
refreshToken() - Method in class com.google.api.client.auth.oauth2.Credential
Request a new access token from the authorization endpoint.
refreshToken() - Method in class com.google.api.client.auth.oauth2.draft10.AccessProtectedResource
Deprecated. Request a new access token from the authorization endpoint, acquiring a lock on the access token so other threads calling AccessProtectedResource.getAccessToken() must wait until the new access token has been retrieved.
refreshToken - Variable in class com.google.api.client.auth.oauth2.draft10.AccessTokenRequest.RefreshTokenGrant
Deprecated. (REQUIRED) The refresh token associated with the access token to be refreshed.
refreshToken - Variable in class com.google.api.client.auth.oauth2.draft10.AccessTokenResponse
Deprecated. (OPTIONAL) The refresh token used to obtain new access tokens.
RefreshTokenRequest - Class in com.google.api.client.auth.oauth2
OAuth 2.0 request to refresh an access token using a refresh token as specified in Refreshing an Access Token.
RefreshTokenRequest(HttpTransport, JsonFactory, GenericUrl, String) - Constructor for class com.google.api.client.auth.oauth2.RefreshTokenRequest
 
responseType - Variable in class com.google.api.client.auth.oauth2.draft10.AuthorizationRequestUrl
Deprecated. (REQUIRED) The requested response: an access token, an authorization code, or both.
RsaSHA256Signer - Class in com.google.api.client.auth.jsontoken
Signs a JSON Web Signature (JWS) using RSA and SHA-256.

S

scope - Variable in class com.google.api.client.auth.oauth2.draft10.AccessTokenRequest
Deprecated. (OPTIONAL) The scope of the access request expressed as a list of space-delimited strings or null for none.
scope - Variable in class com.google.api.client.auth.oauth2.draft10.AccessTokenResponse
Deprecated. (OPTIONAL) The scope of the access token as a list of space- delimited strings.
scope - Variable in class com.google.api.client.auth.oauth2.draft10.AuthorizationRequestUrl
Deprecated. (OPTIONAL) The scope of the access request expressed as a list of space-delimited strings.
scope - Variable in class com.google.api.client.auth.oauth2.draft10.AuthorizationResponse
Deprecated. (OPTIONAL) The scope of the access token as a list of space- delimited strings if an access token is included.
set(AuthorizationRequestUrl) - Method in enum com.google.api.client.auth.oauth2.draft10.AuthorizationRequestUrl.ResponseType
Deprecated. Sets the response type on an authorization request URL.
setAccessToken(String) - Method in class com.google.api.client.auth.oauth2.Credential
Sets the access token.
setAccessToken(String) - Method in class com.google.api.client.auth.oauth2.draft10.AccessProtectedResource
Deprecated. Sets the access token.
setAccessToken(String) - Method in class com.google.api.client.auth.oauth2.TokenResponse
Sets the access token issued by the authorization server.
setAccessToken(String) - Method in class com.google.api.client.auth.openidconnect.IdTokenResponse
 
setAlgorithm(String) - Method in class com.google.api.client.auth.jsontoken.JsonWebSignature.Header
Sets the algorithm header parameter that identifies the cryptographic algorithm used to secure the JWS or null for none.
setAudience(String) - Method in class com.google.api.client.auth.jsontoken.JsonWebToken.Payload
Sets the audience claim that identifies the audience that the JWT is intended for or null for none.
setClientAuthentication(HttpExecuteInterceptor) - Method in class com.google.api.client.auth.oauth2.AuthorizationCodeTokenRequest
 
setClientAuthentication(HttpExecuteInterceptor) - Method in class com.google.api.client.auth.oauth2.Credential.Builder
Sets the client authentication or null for none (see TokenRequest.setClientAuthentication(HttpExecuteInterceptor)).
setClientAuthentication(HttpExecuteInterceptor) - Method in class com.google.api.client.auth.oauth2.RefreshTokenRequest
 
setClientAuthentication(HttpExecuteInterceptor) - Method in class com.google.api.client.auth.oauth2.TokenRequest
Sets the client authentication or null for none.
setClientId(String) - Method in class com.google.api.client.auth.oauth2.AuthorizationCodeRequestUrl
 
setClientId(String) - Method in class com.google.api.client.auth.oauth2.AuthorizationRequestUrl
Sets the client identifier.
setClientId(String) - Method in class com.google.api.client.auth.oauth2.BrowserClientRequestUrl
 
setCode(String) - Method in class com.google.api.client.auth.oauth2.AuthorizationCodeResponseUrl
Sets the authorization code generated by the authorization server or null for none.
setCode(String) - Method in class com.google.api.client.auth.oauth2.AuthorizationCodeTokenRequest
Sets the authorization code generated by the authorization server.
setCredentialStore(CredentialStore) - Method in class com.google.api.client.auth.oauth2.AuthorizationCodeFlow.Builder
Sets the credential persistence store or null for none.
setError(String) - Method in class com.google.api.client.auth.oauth2.AuthorizationCodeResponseUrl
Sets the error code ("invalid_request", "unauthorized_client", "access_denied", "unsupported_response_type", "invalid_scope", "server_error", "temporarily_unavailable", or an extension error code as specified in Defining Additional Error Codes) or null for none.
setError(String) - Method in class com.google.api.client.auth.oauth2.TokenErrorResponse
Sets the error code ("invalid_request", "invalid_client", "invalid_grant", "unauthorized_client", "unsupported_grant_type", "invalid_scope", or an extension error code as specified in Defining Additional Error Codes).
setErrorDescription(String) - Method in class com.google.api.client.auth.oauth2.AuthorizationCodeResponseUrl
Sets the human-readable text providing additional information used to assist the client developer in understanding the error that occurred or null for none.
setErrorDescription(String) - Method in class com.google.api.client.auth.oauth2.TokenErrorResponse
Sets the human-readable text providing additional information, used to assist the client developer in understanding the error that occurred or null for none.
setErrorUri(String) - Method in class com.google.api.client.auth.oauth2.AuthorizationCodeResponseUrl
Sets the URI identifying a human-readable web page with information about the error used to provide the client developer with additional information about the error or null for none.
setErrorUri(String) - Method in class com.google.api.client.auth.oauth2.TokenErrorResponse
Sets the URI identifying a human-readable web page with information about the error, used to provide the client developer with additional information about the error or null for none.
setExpirationTimeMilliseconds(Long) - Method in class com.google.api.client.auth.oauth2.Credential
Sets the expected expiration time in milliseconds or null for none.
setExpirationTimeSeconds(Long) - Method in class com.google.api.client.auth.jsontoken.JsonWebToken.Payload
Sets the expiration time claim that identifies the expiration time (in seconds) on or after which the token MUST NOT be accepted for processing or null for none.
setExpiresInSeconds(Long) - Method in class com.google.api.client.auth.oauth2.Credential
Sets the lifetime in seconds of the access token (for example 3600 for an hour) or null for none.
setExpiresInSeconds(Long) - Method in class com.google.api.client.auth.oauth2.TokenResponse
Sets the lifetime in seconds of the access token (for example 3600 for an hour) or null for none.
setExpiresInSeconds(Long) - Method in class com.google.api.client.auth.openidconnect.IdTokenResponse
 
setFromTokenResponse(TokenResponse) - Method in class com.google.api.client.auth.oauth2.Credential
Sets the access token, refresh token (if available), and expires-in time based on the values from the token response.
setGrantType(String) - Method in class com.google.api.client.auth.oauth2.AuthorizationCodeTokenRequest
 
setGrantType(String) - Method in class com.google.api.client.auth.oauth2.RefreshTokenRequest
 
setGrantType(String) - Method in class com.google.api.client.auth.oauth2.TokenRequest
Sets the grant type ("authorization_code", "password", "client_credentials", "refresh_token" or absolute URI of the extension grant type).
setHeaderClass(Class<? extends JsonWebSignature.Header>) - Method in class com.google.api.client.auth.jsontoken.JsonWebSignature.Parser
Sets the header class to use for parsing.
setIdToken(String) - Method in class com.google.api.client.auth.openidconnect.IdTokenResponse
Sets the ID token.
setIssuedAtTimeSeconds(Long) - Method in class com.google.api.client.auth.jsontoken.JsonWebToken.Payload
Sets the issued at claim that identifies the time (in seconds) at which the JWT was issued or null for none.
setIssuer(String) - Method in class com.google.api.client.auth.jsontoken.JsonWebToken.Payload
Sets the issuer claim that identifies the principal that issued the JWT or null for none.
setJsonFactory(JsonFactory) - Method in class com.google.api.client.auth.oauth2.Credential.Builder
Sets the JSON factory to use for parsing response for refresh token request or null if not refreshing tokens.
setJwkUrl(String) - Method in class com.google.api.client.auth.jsontoken.JsonWebSignature.Header
Sets the JSON Web Key URL header parameter that is an absolute URL that refers to a resource for a set of JSON-encoded public keys, one of which corresponds to the key that was used to digitally sign the JWS or null for none.
setJwtId(String) - Method in class com.google.api.client.auth.jsontoken.JsonWebToken.Payload
Sets the JWT ID claim that provides a unique identifier for the JWT or null for none.
setKeyId(String) - Method in class com.google.api.client.auth.jsontoken.JsonWebSignature.Header
Sets the key ID header parameter that is a hint indicating which specific key owned by the signer should be used to validate the digital signature or null for none.
setNotBeforeTimeSeconds(Long) - Method in class com.google.api.client.auth.jsontoken.JsonWebToken.Payload
Sets the not before claim that identifies the time (in seconds) before which the token MUST NOT be accepted for processing or null for none.
setPayloadClass(Class<? extends JsonWebToken.Payload>) - Method in class com.google.api.client.auth.jsontoken.JsonWebSignature.Parser
Sets the payload class to use for parsing.
setPrincipal(String) - Method in class com.google.api.client.auth.jsontoken.JsonWebToken.Payload
Sets the principal claim that identifies the subject of the JWT or null for none.
setRedirectUri(String) - Method in class com.google.api.client.auth.oauth2.AuthorizationCodeRequestUrl
 
setRedirectUri(String) - Method in class com.google.api.client.auth.oauth2.AuthorizationCodeTokenRequest
Sets the redirect URI parameter matching the redirect URI parameter in the authorization request or null for none.
setRedirectUri(String) - Method in class com.google.api.client.auth.oauth2.AuthorizationRequestUrl
Sets the URI that the authorization server directs the resource owner's user-agent back to the client after a successful authorization grant (as specified in Redirection Endpoint) or null for none.
setRedirectUri(String) - Method in class com.google.api.client.auth.oauth2.BrowserClientRequestUrl
 
setRefreshListeners(List<CredentialRefreshListener>) - Method in class com.google.api.client.auth.oauth2.Credential.Builder
Sets the listeners for refresh token results or null for none.
setRefreshToken(String) - Method in class com.google.api.client.auth.oauth2.Credential
Sets the refresh token.
setRefreshToken(String) - Method in class com.google.api.client.auth.oauth2.RefreshTokenRequest
Sets the refresh token issued to the client.
setRefreshToken(String) - Method in class com.google.api.client.auth.oauth2.TokenResponse
Sets the refresh token which can be used to obtain new access tokens using the same authorization grant or null for none.
setRefreshToken(String) - Method in class com.google.api.client.auth.openidconnect.IdTokenResponse
 
setRequestInitializer(HttpRequestInitializer) - Method in class com.google.api.client.auth.oauth2.AuthorizationCodeFlow.Builder
Sets the HTTP request initializer or null for none.
setRequestInitializer(HttpRequestInitializer) - Method in class com.google.api.client.auth.oauth2.AuthorizationCodeTokenRequest
 
setRequestInitializer(HttpRequestInitializer) - Method in class com.google.api.client.auth.oauth2.Credential.Builder
Sets the HTTP request initializer for refresh token requests to the token server or null for none.
setRequestInitializer(HttpRequestInitializer) - Method in class com.google.api.client.auth.oauth2.RefreshTokenRequest
 
setRequestInitializer(HttpRequestInitializer) - Method in class com.google.api.client.auth.oauth2.TokenRequest
Sets the HTTP request initializer or null for none.
setResponseTypes(String...) - Method in class com.google.api.client.auth.oauth2.AuthorizationCodeRequestUrl
 
setResponseTypes(Iterable<String>) - Method in class com.google.api.client.auth.oauth2.AuthorizationCodeRequestUrl
 
setResponseTypes(String...) - Method in class com.google.api.client.auth.oauth2.AuthorizationRequestUrl
Sets the list of response types, each of which must be "code", "token", or a registered extension value (as specified in Response Type).
setResponseTypes(Iterable<String>) - Method in class com.google.api.client.auth.oauth2.AuthorizationRequestUrl
Sets the list of response types, each of which must be "code", "token", or a registered extension value (as specified in Response Type).
setResponseTypes(String...) - Method in class com.google.api.client.auth.oauth2.BrowserClientRequestUrl
 
setResponseTypes(Iterable<String>) - Method in class com.google.api.client.auth.oauth2.BrowserClientRequestUrl
 
setScope(String) - Method in class com.google.api.client.auth.oauth2.TokenResponse
Sets the scope of the access token or null for none.
setScope(String) - Method in class com.google.api.client.auth.openidconnect.IdTokenResponse
 
setScopes(Iterable<String>) - Method in class com.google.api.client.auth.oauth2.AuthorizationCodeFlow.Builder
Sets the list of scopes or null for none.
setScopes(String...) - Method in class com.google.api.client.auth.oauth2.AuthorizationCodeFlow.Builder
Sets the list of scopes or null for none.
setScopes(String...) - Method in class com.google.api.client.auth.oauth2.AuthorizationCodeRequestUrl
 
setScopes(Iterable<String>) - Method in class com.google.api.client.auth.oauth2.AuthorizationCodeRequestUrl
 
setScopes(String...) - Method in class com.google.api.client.auth.oauth2.AuthorizationCodeTokenRequest
 
setScopes(Iterable<String>) - Method in class com.google.api.client.auth.oauth2.AuthorizationCodeTokenRequest
 
setScopes(String...) - Method in class com.google.api.client.auth.oauth2.AuthorizationRequestUrl
Sets the list of scopes (as specified in Access Token Scope) or null for none.
setScopes(Iterable<String>) - Method in class com.google.api.client.auth.oauth2.AuthorizationRequestUrl
Sets the list of scopes (as specified in Access Token Scope) or null for none.
setScopes(String...) - Method in class com.google.api.client.auth.oauth2.BrowserClientRequestUrl
 
setScopes(Iterable<String>) - Method in class com.google.api.client.auth.oauth2.BrowserClientRequestUrl
 
setScopes(String...) - Method in class com.google.api.client.auth.oauth2.RefreshTokenRequest
 
setScopes(Iterable<String>) - Method in class com.google.api.client.auth.oauth2.RefreshTokenRequest
 
setScopes(String...) - Method in class com.google.api.client.auth.oauth2.TokenRequest
Sets the list of scopes (as specified in Access Token Scope) or null for none.
setScopes(Iterable<String>) - Method in class com.google.api.client.auth.oauth2.TokenRequest
Sets the list of scopes (as specified in Access Token Scope) or null for none.
setState(String) - Method in class com.google.api.client.auth.oauth2.AuthorizationCodeRequestUrl
 
setState(String) - Method in class com.google.api.client.auth.oauth2.AuthorizationCodeResponseUrl
Sets the state parameter matching the state parameter in the authorization request or null for none.
setState(String) - Method in class com.google.api.client.auth.oauth2.AuthorizationRequestUrl
Sets the state (an opaque value used by the client to maintain state between the request and callback, as mentioned in Registration Requirements) or null for none.
setState(String) - Method in class com.google.api.client.auth.oauth2.BrowserClientRequestUrl
 
setTokenServerEncodedUrl(String) - Method in class com.google.api.client.auth.oauth2.Credential.Builder
Sets the encoded token server URL or null if not refreshing tokens.
setTokenServerUrl(GenericUrl) - Method in class com.google.api.client.auth.oauth2.AuthorizationCodeTokenRequest
 
setTokenServerUrl(GenericUrl) - Method in class com.google.api.client.auth.oauth2.Credential.Builder
Sets the token server URL or null if not refreshing tokens.
setTokenServerUrl(GenericUrl) - Method in class com.google.api.client.auth.oauth2.RefreshTokenRequest
 
setTokenServerUrl(GenericUrl) - Method in class com.google.api.client.auth.oauth2.TokenRequest
Sets the token server URL.
setTokenType(String) - Method in class com.google.api.client.auth.oauth2.TokenResponse
Sets the token type (as specified in Access Token Types).
setTokenType(String) - Method in class com.google.api.client.auth.openidconnect.IdTokenResponse
 
setTransport(HttpTransport) - Method in class com.google.api.client.auth.oauth2.Credential.Builder
Sets the HTTP transport for executing refresh token request or null if not refreshing tokens.
setType(String) - Method in class com.google.api.client.auth.jsontoken.JsonWebSignature.Header
 
setType(String) - Method in class com.google.api.client.auth.jsontoken.JsonWebToken.Header
Sets the type header parameter used to declare structural information about the JWT or null for none.
setType(String) - Method in class com.google.api.client.auth.jsontoken.JsonWebToken.Payload
Sets the type claim that is used to declare a type for the contents of this JWT Claims Set or null for none.
setX509Thumbprint(String) - Method in class com.google.api.client.auth.jsontoken.JsonWebSignature.Header
Sets the x.509 certificate thumbprint header parameter that provides a base64url encoded SHA-1 thumbprint (a.k.a.
setX509Url(String) - Method in class com.google.api.client.auth.jsontoken.JsonWebSignature.Header
Sets the X.509 URL header parameter that is an absolute URL that refers to a resource for the X.509 public key certificate or certificate chain corresponding to the key used to digitally sign the JWS or null for none.
sign(PrivateKey, JsonFactory, JsonWebSignature.Header, JsonWebToken.Payload) - Static method in class com.google.api.client.auth.jsontoken.RsaSHA256Signer
Signs a given JWS header and payload based on the given private key.
signature - Variable in class com.google.api.client.auth.oauth.OAuthParameters
Signature.
signatureMethod - Variable in class com.google.api.client.auth.oauth.OAuthParameters
Name of the signature method used by the client to sign the request.
signer - Variable in class com.google.api.client.auth.oauth.AbstractOAuthGetToken
Required OAuth signature algorithm.
signer - Variable in class com.google.api.client.auth.oauth.OAuthParameters
Required OAuth signature algorithm.
state - Variable in class com.google.api.client.auth.oauth2.draft10.AuthorizationRequestUrl
Deprecated. (OPTIONAL) An opaque value used by the client to maintain state between the request and callback.
state - Variable in class com.google.api.client.auth.oauth2.draft10.AuthorizationResponse
Deprecated. (REQUIRED if the "state" parameter was present in the client authorization request) Set to the exact value received from the client.
store(String, Credential) - Method in interface com.google.api.client.auth.oauth2.CredentialStore
Stores the credential of the given user ID.
store(String, Credential) - Method in class com.google.api.client.auth.oauth2.MemoryCredentialStore
 

T

temporaryToken - Variable in class com.google.api.client.auth.oauth.OAuthAuthorizeTemporaryTokenUrl
The temporary credentials token obtained from temporary credentials request in the "oauth_token" parameter.
temporaryToken - Variable in class com.google.api.client.auth.oauth.OAuthGetAccessToken
Required temporary token.
timestamp - Variable in class com.google.api.client.auth.oauth.OAuthParameters
Required timestamp value.
token - Variable in class com.google.api.client.auth.oauth.OAuthCallbackUrl
The temporary credentials identifier received from the client.
token - Variable in class com.google.api.client.auth.oauth.OAuthCredentialsResponse
Credentials token.
token - Variable in class com.google.api.client.auth.oauth.OAuthParameters
Token value used to associate the request with the resource owner or null if the request is not associated with a resource owner.
TokenErrorResponse - Class in com.google.api.client.auth.oauth2
OAuth 2.0 parser for an error access token response as specified in Error Response.
TokenErrorResponse() - Constructor for class com.google.api.client.auth.oauth2.TokenErrorResponse
 
TokenRequest - Class in com.google.api.client.auth.oauth2
OAuth 2.0 request for an access token as specified in Obtaining Authorization.
TokenRequest(HttpTransport, JsonFactory, GenericUrl, String) - Constructor for class com.google.api.client.auth.oauth2.TokenRequest
 
TokenResponse - Class in com.google.api.client.auth.oauth2
OAuth 2.0 JSON model for a successful access token response as specified in Successful Response.
TokenResponse() - Constructor for class com.google.api.client.auth.oauth2.TokenResponse
 
TokenResponseException - Exception in com.google.api.client.auth.oauth2
Exception thrown when receiving an error response from the token server as specified in Error Response
tokenSecret - Variable in class com.google.api.client.auth.oauth.OAuthCredentialsResponse
Credentials shared-secret for use with "HMAC-SHA1" signature algorithm.
tokenSharedSecret - Variable in class com.google.api.client.auth.oauth.OAuthHmacSigner
Token-shared secret or null for none.
transport - Variable in class com.google.api.client.auth.oauth.AbstractOAuthGetToken
HTTP transport required for executing request in AbstractOAuthGetToken.execute().
transport - Variable in class com.google.api.client.auth.oauth2.draft10.AccessTokenRequest
Deprecated. (REQUIRED) HTTP transport required for executing request in AccessTokenRequest.execute().

U

useBasicAuthorization - Variable in class com.google.api.client.auth.oauth2.draft10.AccessTokenRequest
Deprecated. false to specify the password in the request body using the "clientSecret" parameter in the HTTP body or true to use Basic Authentication as recommended in Client Password Credentials.
usePost - Variable in class com.google.api.client.auth.oauth.AbstractOAuthGetToken
true for POST request or the default false for GET request.
username - Variable in class com.google.api.client.auth.oauth2.draft10.AccessTokenRequest.ResourceOwnerPasswordCredentialsGrant
Deprecated. (REQUIRED) The resource owner's username.

V

valueOf(String) - Static method in enum com.google.api.client.auth.oauth2.draft10.AccessProtectedResource.Method
Deprecated. Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.google.api.client.auth.oauth2.draft10.AccessTokenErrorResponse.KnownError
Deprecated. Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.google.api.client.auth.oauth2.draft10.AccessTokenRequest.GrantType
Deprecated. Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.google.api.client.auth.oauth2.draft10.AuthorizationRequestUrl.ResponseType
Deprecated. Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.google.api.client.auth.oauth2.draft10.AuthorizationResponse.KnownError
Deprecated. Returns the enum constant of this type with the specified name.
values() - Static method in enum com.google.api.client.auth.oauth2.draft10.AccessProtectedResource.Method
Deprecated. Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.google.api.client.auth.oauth2.draft10.AccessTokenErrorResponse.KnownError
Deprecated. Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.google.api.client.auth.oauth2.draft10.AccessTokenRequest.GrantType
Deprecated. Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.google.api.client.auth.oauth2.draft10.AuthorizationRequestUrl.ResponseType
Deprecated. Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.google.api.client.auth.oauth2.draft10.AuthorizationResponse.KnownError
Deprecated. Returns an array containing the constants of this enum type, in the order they are declared.
verifier - Variable in class com.google.api.client.auth.oauth.OAuthCallbackUrl
The verification code.
verifier - Variable in class com.google.api.client.auth.oauth.OAuthGetAccessToken
Required verifier code received from the server when the temporary token was authorized.
verifier - Variable in class com.google.api.client.auth.oauth.OAuthParameters
The verification code received from the server.
version - Variable in class com.google.api.client.auth.oauth.OAuthParameters
Must either be "1.0" or null to skip.

A B C D E F G H I J L M N O P Q R S T U V

Copyright © 2011-2012 Google. All Rights Reserved.