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

A

AbstractAppEngineAuthorizationCodeCallbackServlet - Class in com.google.api.client.extensions.appengine.auth.oauth2
Simple extension of AbstractAuthorizationCodeCallbackServlet that uses the currently logged-in Google Account user, as directed in Security and Authentication.
AbstractAppEngineAuthorizationCodeCallbackServlet() - Constructor for class com.google.api.client.extensions.appengine.auth.oauth2.AbstractAppEngineAuthorizationCodeCallbackServlet
 
AbstractAppEngineAuthorizationCodeServlet - Class in com.google.api.client.extensions.appengine.auth.oauth2
Simple extension of AbstractAuthorizationCodeServlet that uses the currently logged-in Google Account user, as directed in Security and Authentication.
AbstractAppEngineAuthorizationCodeServlet() - Constructor for class com.google.api.client.extensions.appengine.auth.oauth2.AbstractAppEngineAuthorizationCodeServlet
 
AbstractAppEngineCallbackServlet - Class in com.google.api.client.extensions.appengine.auth
Beta
This servlet fills in some of the required information for the AbstractCallbackServlet with reasonable defaults for App Engine.
AbstractAppEngineCallbackServlet() - Constructor for class com.google.api.client.extensions.appengine.auth.AbstractAppEngineCallbackServlet
 
AbstractAppEngineFlowServlet - Class in com.google.api.client.extensions.appengine.auth
Beta
This class fills in some of the unknowns of the generic AbstractFlowUserServlet with reasonable defaults for App Engine.
AbstractAppEngineFlowServlet() - Constructor for class com.google.api.client.extensions.appengine.auth.AbstractAppEngineFlowServlet
 
AbstractAuthorizationCodeCallbackServlet - Class in com.google.api.client.extensions.servlet.auth.oauth2
Thread-safe OAuth 2.0 authorization code callback servlet to process the authorization code or error response from authorization page redirect.
AbstractAuthorizationCodeCallbackServlet() - Constructor for class com.google.api.client.extensions.servlet.auth.oauth2.AbstractAuthorizationCodeCallbackServlet
 
AbstractAuthorizationCodeServlet - Class in com.google.api.client.extensions.servlet.auth.oauth2
Thread-safe OAuth 2.0 authorization code flow HTTP servlet that manages and persists end-user credentials.
AbstractAuthorizationCodeServlet() - Constructor for class com.google.api.client.extensions.servlet.auth.oauth2.AbstractAuthorizationCodeServlet
 
AbstractCallbackServlet - Class in com.google.api.client.extensions.servlet.auth
Beta
Callback that will retrieve and complete a ThreeLeggedFlow when redirected to by a token server or service provider.
AbstractCallbackServlet() - Constructor for class com.google.api.client.extensions.servlet.auth.AbstractCallbackServlet
Constructor with will ask the concrete subclass for all required information on the environment.
AbstractFlowUserServlet - Class in com.google.api.client.extensions.servlet.auth
Beta
Servlet that can be used to invoke and manage a ThreeLeggedFlow object in the App Engine container.
AbstractFlowUserServlet() - Constructor for class com.google.api.client.extensions.servlet.auth.AbstractFlowUserServlet
 
AbstractOAuthGetToken - Class in com.google.api.client.auth.oauth
Beta
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
 
AbstractPromptReceiver - Class in com.google.api.client.extensions.java6.auth.oauth2
OAuth 2.0 abstract verification code receiver that prompts user to paste the code copied from the browser.
AbstractPromptReceiver() - Constructor for class com.google.api.client.extensions.java6.auth.oauth2.AbstractPromptReceiver
 
addRefreshListener(CredentialRefreshListener) - Method in class com.google.api.client.auth.oauth2.AuthorizationCodeFlow.Builder
Adds a listener for refresh token results.
addRefreshListener(CredentialRefreshListener) - Method in class com.google.api.client.auth.oauth2.Credential.Builder
Adds a listener for refresh token results.
AppEngineCredentialStore - Class in com.google.api.client.extensions.appengine.auth.oauth2
Deprecated.
(to be removed in the future) Use AppEngineDataStoreFactory with StoredCredential instead, optionally using AppEngineCredentialStore.migrateTo(AppEngineDataStoreFactory) or AppEngineCredentialStore.migrateTo(DataStore) to migrating an existing AppEngineCredentialStore.
AppEngineCredentialStore() - Constructor for class com.google.api.client.extensions.appengine.auth.oauth2.AppEngineCredentialStore
Deprecated.
 
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) - Constructor for class com.google.api.client.auth.oauth2.AuthorizationCodeFlow
 
AuthorizationCodeFlow(AuthorizationCodeFlow.Builder) - 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
 
AuthorizationCodeFlow.CredentialCreatedListener - Interface in com.google.api.client.auth.oauth2
AuthorizationCodeInstalledApp - Class in com.google.api.client.extensions.java6.auth.oauth2
OAuth 2.0 authorization code flow for an installed Java application that persists end-user credentials.
AuthorizationCodeInstalledApp(AuthorizationCodeFlow, VerificationCodeReceiver) - Constructor for class com.google.api.client.extensions.java6.auth.oauth2.AuthorizationCodeInstalledApp
 
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, Collection<String>) - Constructor for class com.google.api.client.auth.oauth2.AuthorizationRequestUrl
 
authorize(String) - Method in class com.google.api.client.extensions.java6.auth.oauth2.AuthorizationCodeInstalledApp
Authorizes the installed application to access user's protected data.

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
 
browse(String) - Static method in class com.google.api.client.extensions.java6.auth.oauth2.AuthorizationCodeInstalledApp
Open a browser at the given URL using Desktop if available, or alternatively output the URL to System.out for command-line applications.
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.
build() - Method in class com.google.api.client.auth.openidconnect.IdTokenVerifier.Builder
Builds a new instance of IdTokenVerifier.
build() - Method in class com.google.api.client.extensions.jetty.auth.oauth2.LocalServerReceiver.Builder

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.
ClientCredentialsTokenRequest - Class in com.google.api.client.auth.oauth2
OAuth 2.0 request for an access token using only its client credentials as specified in Client Credentials Grant.
ClientCredentialsTokenRequest(HttpTransport, JsonFactory, GenericUrl) - Constructor for class com.google.api.client.auth.oauth2.ClientCredentialsTokenRequest
 
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
 
clientSharedSecret - Variable in class com.google.api.client.auth.oauth.OAuthHmacSigner
Client-shared secret or null for none.
clone() - Method in class com.google.api.client.auth.oauth2.AuthorizationCodeRequestUrl
 
clone() - Method in class com.google.api.client.auth.oauth2.AuthorizationCodeResponseUrl
 
clone() - Method in class com.google.api.client.auth.oauth2.AuthorizationRequestUrl
 
clone() - Method in class com.google.api.client.auth.oauth2.BrowserClientRequestUrl
 
clone() - Method in class com.google.api.client.auth.oauth2.TokenErrorResponse
 
clone() - Method in class com.google.api.client.auth.oauth2.TokenResponse
 
clone() - Method in class com.google.api.client.auth.openidconnect.IdToken.Payload
 
clone() - Method in class com.google.api.client.auth.openidconnect.IdTokenResponse
 
clone() - Method in class com.google.api.client.extensions.java6.auth.oauth2.FilePersistedCredential
Deprecated.
 
clone() - Method in class com.google.api.client.extensions.java6.auth.oauth2.FilePersistedCredentials
Deprecated.
 
com.google.api.client.auth.oauth - package com.google.api.client.auth.oauth
Beta
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
Implementation of the OAuth 2.0 Authorization Framework.
com.google.api.client.auth.openidconnect - package com.google.api.client.auth.openidconnect
com.google.api.client.extensions.appengine.auth - package com.google.api.client.extensions.appengine.auth
Beta
These servlets will allow an App Engine user to quickly get started with the auth object interface from the main client.
com.google.api.client.extensions.appengine.auth.oauth2 - package com.google.api.client.extensions.appengine.auth.oauth2
OAuth 2.0 utilities that help simplify the authorization flow on Google App Engine.
com.google.api.client.extensions.auth.helpers - package com.google.api.client.extensions.auth.helpers
Beta
Auth object framework that will provide an interface to create easy to use, object-oriented methods to obtain and manage auth credentials.
com.google.api.client.extensions.auth.helpers.oauth - package com.google.api.client.extensions.auth.helpers.oauth
Beta
Implementation of auth objects to obtain and manage OAuth 1 credentials using the web server flow.
com.google.api.client.extensions.java6.auth.oauth2 - package com.google.api.client.extensions.java6.auth.oauth2
OAuth 2.0 utilities that help simplify the authorization flow on Java 6.
com.google.api.client.extensions.jetty.auth.oauth2 - package com.google.api.client.extensions.jetty.auth.oauth2
OAuth 2.0 utilities that help simplify the authorization flow using a Jetty server.
com.google.api.client.extensions.servlet.auth - package com.google.api.client.extensions.servlet.auth
Beta
Servlets that can be completed by users to create and complete a web server auth flow to obtain a credential.
com.google.api.client.extensions.servlet.auth.oauth2 - package com.google.api.client.extensions.servlet.auth.oauth2
OAuth 2.0 utilities that help simplify the authorization flow in HTTP servlets.
complete(String) - Method in class com.google.api.client.extensions.auth.helpers.oauth.OAuthHmacThreeLeggedFlow
 
complete(String) - Method in interface com.google.api.client.extensions.auth.helpers.ThreeLeggedFlow
After the user has authorized the request, the token or code obtained should be passed to this complete function to allow us to exchange the code with the authentication server for a Credential.
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.Builder) - Constructor for class com.google.api.client.auth.oauth2.Credential
 
Credential - Interface in com.google.api.client.extensions.auth.helpers
Beta
Implementations of this class will have all of the information necessary to create and install the necessary handlers on an HttpTransport object to allow for a streamlined auth experience.
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
Deprecated.
(to be removed in the future) Use DataStoreFactory with StoredCredential instead.
CredentialStoreRefreshListener - Class in com.google.api.client.auth.oauth2
Deprecated.
(to be removed in the future) Use DataStoreCredentialRefreshListener instead.
CredentialStoreRefreshListener(String, CredentialStore) - Constructor for class com.google.api.client.auth.oauth2.CredentialStoreRefreshListener
Deprecated.
 

D

DataStoreCredentialRefreshListener - Class in com.google.api.client.auth.oauth2
Beta
Thread-safe OAuth 2.0 credential refresh listener that stores the refresh token response in the credential data store.
DataStoreCredentialRefreshListener(String, DataStoreFactory) - Constructor for class com.google.api.client.auth.oauth2.DataStoreCredentialRefreshListener
Constructor using StoredCredential.getDefaultDataStore(DataStoreFactory) for the stored credential data store.
DataStoreCredentialRefreshListener(String, DataStore<StoredCredential>) - Constructor for class com.google.api.client.auth.oauth2.DataStoreCredentialRefreshListener
 
DEFAULT_DATA_STORE_ID - Static variable in class com.google.api.client.auth.oauth2.StoredCredential
Default data store ID.
DEFAULT_TIME_SKEW_SECONDS - Static variable in class com.google.api.client.auth.openidconnect.IdTokenVerifier
Default value for seconds of time skew to accept when verifying time (5 minutes).
delete(String, Credential) - Method in interface com.google.api.client.auth.oauth2.CredentialStore
Deprecated.
Deletes the credential of the given user ID.
delete(String, Credential) - Method in class com.google.api.client.extensions.appengine.auth.oauth2.AppEngineCredentialStore
Deprecated.
 
delete(String, Credential) - Method in class com.google.api.client.extensions.java6.auth.oauth2.FileCredentialStore
Deprecated.
 
doGet(HttpServletRequest, HttpServletResponse) - Method in class com.google.api.client.extensions.servlet.auth.AbstractCallbackServlet
 
doGet(HttpServletRequest, HttpServletResponse) - Method in class com.google.api.client.extensions.servlet.auth.oauth2.AbstractAuthorizationCodeCallbackServlet
 

E

equals(Object) - Method in class com.google.api.client.auth.oauth2.StoredCredential
 
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.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.
executeRefreshToken() - Method in class com.google.api.client.auth.oauth2.Credential
Executes a request for new credentials from the token server.
executeUnparsed() - Method in class com.google.api.client.auth.oauth2.TokenRequest
Executes request for an access token, and returns the HTTP response.

F

FileCredentialStore - Class in com.google.api.client.extensions.java6.auth.oauth2
Deprecated.
(to be removed in the future) Use FileDataStoreFactory with StoredCredential instead, optionally using FileCredentialStore.migrateTo(FileDataStoreFactory) or FileCredentialStore.migrateTo(DataStore) to migrating an existing FileCredentialStore.
FileCredentialStore(File, JsonFactory) - Constructor for class com.google.api.client.extensions.java6.auth.oauth2.FileCredentialStore
Deprecated.
 
FilePersistedCredential - Class in com.google.api.client.extensions.java6.auth.oauth2
Deprecated.
(to be removed in the future) Use FileDataStoreFactory instead.
FilePersistedCredential() - Constructor for class com.google.api.client.extensions.java6.auth.oauth2.FilePersistedCredential
Deprecated.
 
FilePersistedCredentials - Class in com.google.api.client.extensions.java6.auth.oauth2
Deprecated.
(to be removed in the future) Use FileDataStoreFactory instead.
FilePersistedCredentials() - Constructor for class com.google.api.client.extensions.java6.auth.oauth2.FilePersistedCredentials
Deprecated.
 
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

getAcceptableTimeSkewSeconds() - Method in class com.google.api.client.auth.openidconnect.IdTokenVerifier.Builder
Returns the seconds of time skew to accept when verifying time.
getAcceptableTimeSkewSeconds() - Method in class com.google.api.client.auth.openidconnect.IdTokenVerifier
Returns the seconds of time skew to accept when verifying time.
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.StoredCredential
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).
getAccessTokenHash() - Method in class com.google.api.client.auth.openidconnect.IdToken.Payload
Returns the access token hash value or null for none.
getAudience() - Method in class com.google.api.client.auth.openidconnect.IdTokenVerifier.Builder
Returns the list of trusted audience client IDs or null to suppress the audience check.
getAudience() - Method in class com.google.api.client.auth.openidconnect.IdTokenVerifier
Returns the unmodifiable list of trusted audience client IDs or null to suppress the audience check.
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.
getAuthorizationTimeSeconds() - Method in class com.google.api.client.auth.openidconnect.IdToken.Payload
Returns the time (in seconds) of end-user authorization or null for none.
getAuthorizationUrl() - Method in class com.google.api.client.extensions.auth.helpers.oauth.OAuthHmacThreeLeggedFlow
 
getAuthorizationUrl() - Method in interface com.google.api.client.extensions.auth.helpers.ThreeLeggedFlow
After the object is created, the developer should use this method to interrogate it for the authorization URL to which the user should be redirected to obtain permission.
getAuthorizedParty() - Method in class com.google.api.client.auth.openidconnect.IdToken.Payload
Returns the authorized party or null for none.
getClassReference() - Method in class com.google.api.client.auth.openidconnect.IdToken.Payload
Returns the authentication context class reference 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.
getClientSecret() - Method in class com.google.api.client.auth.oauth2.ClientParametersAuthentication
Returns the client secret or null for none.
getClock() - Method in class com.google.api.client.auth.oauth2.AuthorizationCodeFlow.Builder
Returns the clock passed along to the Credential or Clock.SYSTEM when system default is used.
getClock() - Method in class com.google.api.client.auth.oauth2.AuthorizationCodeFlow
Returns the clock which will be passed along to the Credential.
getClock() - Method in class com.google.api.client.auth.oauth2.Credential.Builder
Returns the clock to use for expiration checks or Clock.SYSTEM as default.
getClock() - Method in class com.google.api.client.auth.oauth2.Credential
Returns the clock used for expiration checks by this Credential.
getClock() - Method in class com.google.api.client.auth.openidconnect.IdTokenVerifier.Builder
Returns the clock.
getClock() - Method in class com.google.api.client.auth.openidconnect.IdTokenVerifier
Returns the clock.
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.
getCompletionCodeQueryParam() - Method in class com.google.api.client.extensions.servlet.auth.AbstractCallbackServlet
 
getConcreteFlowType() - Method in class com.google.api.client.extensions.servlet.auth.AbstractCallbackServlet
 
getCredential(HttpServletRequest) - Method in class com.google.api.client.extensions.servlet.auth.AbstractFlowUserServlet
Fetch a credential associated with this request.
getCredential() - Method in class com.google.api.client.extensions.servlet.auth.oauth2.AbstractAuthorizationCodeServlet
Return the persisted credential associated with the current request or null for none.
getCredentialCreatedListener() - Method in class com.google.api.client.auth.oauth2.AuthorizationCodeFlow.Builder
Returns the credential created listener or null for none.
getCredentialDataStore() - Method in class com.google.api.client.auth.oauth2.AuthorizationCodeFlow.Builder
Beta
Returns the stored credential data store or null for none.
getCredentialDataStore() - Method in class com.google.api.client.auth.oauth2.AuthorizationCodeFlow
Beta
Returns the stored credential data store or null for none.
getCredentialDataStore() - Method in class com.google.api.client.auth.oauth2.DataStoreCredentialRefreshListener
Returns the stored credential data store.
getCredentialStore() - Method in class com.google.api.client.auth.oauth2.AuthorizationCodeFlow.Builder
Deprecated.
(to be removed in the future) Use AuthorizationCodeFlow.Builder.getCredentialDataStore() instead.
getCredentialStore() - Method in class com.google.api.client.auth.oauth2.AuthorizationCodeFlow
Deprecated.
(to be removed in the future) Use AuthorizationCodeFlow.getCredentialDataStore() instead.
getCredentialStore() - Method in class com.google.api.client.auth.oauth2.CredentialStoreRefreshListener
Deprecated.
Returns the credential store.
getDefaultDataStore(DataStoreFactory) - Static method in class com.google.api.client.auth.oauth2.StoredCredential
Returns the stored credential data store using the ID StoredCredential.DEFAULT_DATA_STORE_ID.
getDeniedRedirectUrl() - Method in class com.google.api.client.extensions.servlet.auth.AbstractCallbackServlet
 
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).
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.
getExpirationTimeMilliseconds() - Method in class com.google.api.client.auth.oauth2.StoredCredential
Returns the expected expiration time in milliseconds 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.
getFlow() - Method in class com.google.api.client.extensions.java6.auth.oauth2.AuthorizationCodeInstalledApp
Returns the authorization code flow.
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).
getHost() - Method in class com.google.api.client.extensions.jetty.auth.oauth2.LocalServerReceiver.Builder
Returns the host name to use.
getHost() - Method in class com.google.api.client.extensions.jetty.auth.oauth2.LocalServerReceiver
Returns the host name to use.
getHttpTransport() - Method in class com.google.api.client.extensions.servlet.auth.AbstractCallbackServlet
Return the HttpTransport instance for this servlet.
getHttpTransport() - Method in class com.google.api.client.extensions.servlet.auth.AbstractFlowUserServlet
Return the HttpTransport instance for this servlet.
getIdToken() - Method in class com.google.api.client.auth.openidconnect.IdTokenResponse
Returns the ID token.
getIssuer() - Method in class com.google.api.client.auth.openidconnect.IdTokenVerifier.Builder
Returns the expected issuer or null to suppress the issuer check.
getIssuer() - Method in class com.google.api.client.auth.openidconnect.IdTokenVerifier
Returns the expected issuer or null to suppress the issuer check.
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.TokenRequest
Returns the JSON factory.
getJsonFactory() - Method in class com.google.api.client.extensions.servlet.auth.AbstractCallbackServlet
Return the JsonFactory instance for this servlet.
getJsonFactory() - Method in class com.google.api.client.extensions.servlet.auth.AbstractFlowUserServlet
Return the JsonFactory instance for this servlet.
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).
getMethodsReferences() - Method in class com.google.api.client.auth.openidconnect.IdToken.Payload
Returns the authentication methods references or null for none.
getNonce() - Method in class com.google.api.client.auth.openidconnect.IdToken.Payload
Returns the value used to associate a client session with an ID token or null for none.
getPassword() - Method in class com.google.api.client.auth.oauth2.PasswordTokenRequest
Returns the resource owner password.
getPayload() - Method in class com.google.api.client.auth.openidconnect.IdToken
 
getPersistenceManagerFactory() - Method in class com.google.api.client.extensions.servlet.auth.AbstractCallbackServlet
Override with your chosen method to get a PersistenceManagerFactory.
getPersistenceManagerFactory() - Method in class com.google.api.client.extensions.servlet.auth.AbstractFlowUserServlet
Obtain a PersistenceManagerFactory for working with the datastore.
getPort() - Method in class com.google.api.client.extensions.jetty.auth.oauth2.LocalServerReceiver.Builder
Returns the port to use or -1 to select an unused port.
getPort() - Method in class com.google.api.client.extensions.jetty.auth.oauth2.LocalServerReceiver
Returns the port to use or -1 to select an unused port in LocalServerReceiver.getRedirectUri().
getReceiver() - Method in class com.google.api.client.extensions.java6.auth.oauth2.AuthorizationCodeInstalledApp
Returns the verification code receiver.
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.
getRedirectUri() - Method in interface com.google.api.client.extensions.java6.auth.oauth2.VerificationCodeReceiver
Returns the redirect URI.
getRedirectUri() - Method in class com.google.api.client.extensions.jetty.auth.oauth2.LocalServerReceiver
 
getRedirectUri(HttpServletRequest) - Method in class com.google.api.client.extensions.servlet.auth.oauth2.AbstractAuthorizationCodeCallbackServlet
Returns the redirect URI for the given HTTP servlet request.
getRedirectUri(HttpServletRequest) - Method in class com.google.api.client.extensions.servlet.auth.oauth2.AbstractAuthorizationCodeServlet
Returns the redirect URI for the given HTTP servlet request.
getRefreshListeners() - Method in class com.google.api.client.auth.oauth2.AuthorizationCodeFlow.Builder
Returns the listeners for refresh token results.
getRefreshListeners() - Method in class com.google.api.client.auth.oauth2.AuthorizationCodeFlow
Returns the unmodifiable list of listeners for refresh token results.
getRefreshListeners() - Method in class com.google.api.client.auth.oauth2.Credential.Builder
Returns the listeners for refresh token results.
getRefreshListeners() - Method in class com.google.api.client.auth.oauth2.Credential
Returns the unmodifiable collection 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.RefreshTokenRequest
Returns the refresh token issued to the client.
getRefreshToken() - Method in class com.google.api.client.auth.oauth2.StoredCredential
Returns the refresh token or null for none.
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 Response type, which must be "code" for requesting an authorization code, "token" for requesting an access token (implicit grant), or space-separated registered extension values.
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 a collection of scopes.
getScopes() - Method in class com.google.api.client.auth.oauth2.AuthorizationCodeFlow
Returns the a collection of scopes.
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.
getScopesAsString() - Method in class com.google.api.client.auth.oauth2.AuthorizationCodeFlow
Returns the space-separated list of scopes.
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.
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.
getSuccessRedirectUrl() - Method in class com.google.api.client.extensions.servlet.auth.AbstractCallbackServlet
 
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.TokenRequest
Returns the HTTP transport.
getUserId() - Method in class com.google.api.client.extensions.appengine.auth.AbstractAppEngineCallbackServlet
Return the user ID of the user that is logged in.
getUserId() - Method in class com.google.api.client.extensions.appengine.auth.AbstractAppEngineFlowServlet
Return the user ID of the user that is logged in.
getUserId(HttpServletRequest) - Method in class com.google.api.client.extensions.appengine.auth.oauth2.AbstractAppEngineAuthorizationCodeCallbackServlet
 
getUserId(HttpServletRequest) - Method in class com.google.api.client.extensions.appengine.auth.oauth2.AbstractAppEngineAuthorizationCodeServlet
 
getUserId() - Method in class com.google.api.client.extensions.servlet.auth.AbstractCallbackServlet
 
getUserId() - Method in class com.google.api.client.extensions.servlet.auth.AbstractFlowUserServlet
 
getUserId(HttpServletRequest) - Method in class com.google.api.client.extensions.servlet.auth.oauth2.AbstractAuthorizationCodeCallbackServlet
Returns the user ID for the given HTTP servlet request.
getUserId(HttpServletRequest) - Method in class com.google.api.client.extensions.servlet.auth.oauth2.AbstractAuthorizationCodeServlet
Returns the user ID for the given HTTP servlet request.
getUsername() - Method in class com.google.api.client.auth.oauth2.PasswordTokenRequest
Returns the resource owner username.

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.extensions.auth.helpers.oauth.OAuthHmacCredential
 
hashCode() - Method in class com.google.api.client.auth.oauth2.StoredCredential
 

I

IdToken - Class in com.google.api.client.auth.openidconnect
Beta
ID token as described in ID Token.
IdToken(JsonWebSignature.Header, IdToken.Payload, byte[], byte[]) - Constructor for class com.google.api.client.auth.openidconnect.IdToken
 
IdToken.Payload - Class in com.google.api.client.auth.openidconnect
Beta
ID token payload.
IdToken.Payload() - Constructor for class com.google.api.client.auth.openidconnect.IdToken.Payload
 
IdTokenResponse - Class in com.google.api.client.auth.openidconnect
Beta
OAuth ID Connect JSON model for a successful access token response as specified in OpenID Connect Basic Client Profile 1.0 (draft 23).
IdTokenResponse() - Constructor for class com.google.api.client.auth.openidconnect.IdTokenResponse
 
IdTokenVerifier - Class in com.google.api.client.auth.openidconnect
Beta
Thread-safe ID token verifier based on ID Token Validation.
IdTokenVerifier() - Constructor for class com.google.api.client.auth.openidconnect.IdTokenVerifier
 
IdTokenVerifier(IdTokenVerifier.Builder) - Constructor for class com.google.api.client.auth.openidconnect.IdTokenVerifier
 
IdTokenVerifier.Builder - Class in com.google.api.client.auth.openidconnect
Beta
Builder for IdTokenVerifier.
IdTokenVerifier.Builder() - Constructor for class com.google.api.client.auth.openidconnect.IdTokenVerifier.Builder
 
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.extensions.auth.helpers.oauth.OAuthHmacCredential
 
initializeFlow() - Method in class com.google.api.client.extensions.servlet.auth.oauth2.AbstractAuthorizationCodeCallbackServlet
Loads the authorization code flow to be used across all HTTP servlet requests (only called during the first HTTP servlet request with an authorization code).
initializeFlow() - Method in class com.google.api.client.extensions.servlet.auth.oauth2.AbstractAuthorizationCodeServlet
Loads the authorization code flow to be used across all HTTP servlet requests (only called during the first HTTP servlet request).
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.extensions.auth.helpers.oauth.OAuthHmacCredential
 
isInvalid() - Method in interface com.google.api.client.extensions.auth.helpers.Credential
Determine if the Credential is no longer valid, after being revoked for example.
isInvalid() - Method in class com.google.api.client.extensions.auth.helpers.oauth.OAuthHmacCredential
 
isSymbolicLink(File) - Method in class com.google.api.client.extensions.java6.auth.oauth2.FileCredentialStore
Deprecated.
Returns whether the given file is a symbolic link.

J

jdoPostLoad() - Method in class com.google.api.client.extensions.auth.helpers.oauth.OAuthHmacCredential
 
jdoPreClear() - Method in class com.google.api.client.extensions.auth.helpers.oauth.OAuthHmacCredential
 
jdoPreDelete() - Method in class com.google.api.client.extensions.auth.helpers.oauth.OAuthHmacCredential
 
jdoPreStore() - Method in class com.google.api.client.extensions.auth.helpers.oauth.OAuthHmacCredential
 

L

load(String, Credential) - Method in interface com.google.api.client.auth.oauth2.CredentialStore
Deprecated.
Loads the credential for the given user ID.
load(String, Credential) - Method in class com.google.api.client.extensions.appengine.auth.oauth2.AppEngineCredentialStore
Deprecated.
 
load(String, Credential) - Method in class com.google.api.client.extensions.java6.auth.oauth2.FileCredentialStore
Deprecated.
 
loadCredential(String) - Method in class com.google.api.client.auth.oauth2.AuthorizationCodeFlow
Loads the credential of the given user ID from the credential store.
loadCredential(PersistenceManager) - Method in class com.google.api.client.extensions.auth.helpers.oauth.OAuthHmacThreeLeggedFlow
 
loadCredential(PersistenceManager) - Method in interface com.google.api.client.extensions.auth.helpers.ThreeLeggedFlow
Convenience function that will load a credential based on the userId for which this flow was instantiated.
LocalServerReceiver - Class in com.google.api.client.extensions.jetty.auth.oauth2
OAuth 2.0 verification code receiver that runs a Jetty server on a free port, waiting for a redirect with the verification code.
LocalServerReceiver() - Constructor for class com.google.api.client.extensions.jetty.auth.oauth2.LocalServerReceiver
Constructor that starts the server on "localhost" selects an unused port.
LocalServerReceiver.Builder - Class in com.google.api.client.extensions.jetty.auth.oauth2
Builder.
LocalServerReceiver.Builder() - Constructor for class com.google.api.client.extensions.jetty.auth.oauth2.LocalServerReceiver.Builder
 

M

makePersistent(Credential) - Method in class com.google.api.client.auth.oauth2.CredentialStoreRefreshListener
Deprecated.
Stores the updated credential in the credential store.
makePersistent(Credential) - Method in class com.google.api.client.auth.oauth2.DataStoreCredentialRefreshListener
Stores the updated credential in the credential store.
migrateTo(AppEngineDataStoreFactory) - Method in class com.google.api.client.extensions.appengine.auth.oauth2.AppEngineCredentialStore
Deprecated.
Migrates to the new AppEngineDataStoreFactory format.
migrateTo(DataStore<StoredCredential>) - Method in class com.google.api.client.extensions.appengine.auth.oauth2.AppEngineCredentialStore
Deprecated.
Migrates to the new format using DataStore of StoredCredential.
migrateTo(FileDataStoreFactory) - Method in class com.google.api.client.extensions.java6.auth.oauth2.FileCredentialStore
Deprecated.
Migrates to the new FileDataStoreFactory format.
migrateTo(DataStore<StoredCredential>) - Method in class com.google.api.client.extensions.java6.auth.oauth2.FileCredentialStore
Deprecated.
Migrates to the new format using DataStore of StoredCredential.

N

newAuthorizationUrl() - Method in class com.google.api.client.auth.oauth2.AuthorizationCodeFlow
Returns a new instance of an authorization code request URL.
newFlow(String) - Method in class com.google.api.client.extensions.servlet.auth.AbstractFlowUserServlet
Create a flow object which will be used to obtain credentials.
newHttpTransportInstance() - Method in class com.google.api.client.extensions.appengine.auth.AbstractAppEngineCallbackServlet
 
newHttpTransportInstance() - Method in class com.google.api.client.extensions.appengine.auth.AbstractAppEngineFlowServlet
 
newHttpTransportInstance() - Method in class com.google.api.client.extensions.servlet.auth.AbstractCallbackServlet
Create a new HttpTransport instance.
newHttpTransportInstance() - Method in class com.google.api.client.extensions.servlet.auth.AbstractFlowUserServlet
Create a new HttpTransport instance.
newJsonFactoryInstance() - Method in class com.google.api.client.extensions.servlet.auth.AbstractCallbackServlet
Create a new JsonFactory instance.
newJsonFactoryInstance() - Method in class com.google.api.client.extensions.servlet.auth.AbstractFlowUserServlet
Create a new JsonFactory instance.
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
Beta
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
Beta
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
Beta
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
Beta
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
Beta
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
 
OAuthHmacCredential - Class in com.google.api.client.extensions.auth.helpers.oauth
Beta
OAuth 1 credential which uses the OAuthHmacSigner to sign requests.
OAuthHmacCredential(String, String, String, String, String) - Constructor for class com.google.api.client.extensions.auth.helpers.oauth.OAuthHmacCredential
Create an OAuth 1 credential object from information obtained from the server.
OAuthHmacSigner - Class in com.google.api.client.auth.oauth
Beta
OAuth "HMAC-SHA1" signature method.
OAuthHmacSigner() - Constructor for class com.google.api.client.auth.oauth.OAuthHmacSigner
 
OAuthHmacThreeLeggedFlow - Class in com.google.api.client.extensions.auth.helpers.oauth
Beta
ThreeLeggedFlow implementation that will execute the proper requests to obtain an OAuth1 Credential object that can be used to sign requests.
OAuthHmacThreeLeggedFlow(String, String, String, String, String, String, HttpTransport) - Constructor for class com.google.api.client.extensions.auth.helpers.oauth.OAuthHmacThreeLeggedFlow
Create an OAuthThreeLeggedFlow instance from the required information.
OAuthParameters - Class in com.google.api.client.auth.oauth
Beta
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
Beta
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
Beta
OAuth signature method.
onAuthorization(AuthorizationCodeRequestUrl) - Method in class com.google.api.client.extensions.java6.auth.oauth2.AuthorizationCodeInstalledApp
Handles user authorization by redirecting to the OAuth 2.0 authorization server.
onAuthorization(HttpServletRequest, HttpServletResponse, AuthorizationCodeRequestUrl) - Method in class com.google.api.client.extensions.servlet.auth.oauth2.AbstractAuthorizationCodeServlet
Handles user authorization by redirecting to the OAuth 2.0 authorization server.
onCredentialCreated(Credential, TokenResponse) - Method in interface com.google.api.client.auth.oauth2.AuthorizationCodeFlow.CredentialCreatedListener
onError(HttpServletRequest, HttpServletResponse, AuthorizationCodeResponseUrl) - Method in class com.google.api.client.extensions.servlet.auth.oauth2.AbstractAuthorizationCodeCallbackServlet
Handles an error to the authorization, such as when an end user denies authorization.
onSuccess(HttpServletRequest, HttpServletResponse, Credential) - Method in class com.google.api.client.extensions.servlet.auth.oauth2.AbstractAuthorizationCodeCallbackServlet
Handles a successfully granted authorization.
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
Deprecated.
 
onTokenErrorResponse(Credential, TokenErrorResponse) - Method in class com.google.api.client.auth.oauth2.DataStoreCredentialRefreshListener
 
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
Deprecated.
 
onTokenResponse(Credential, TokenResponse) - Method in class com.google.api.client.auth.oauth2.DataStoreCredentialRefreshListener
 

P

parse(JsonFactory, String) - Static method in class com.google.api.client.auth.openidconnect.IdToken
Parses the given ID token string and returns the parsed ID token.
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.
PasswordTokenRequest - Class in com.google.api.client.auth.oauth2
OAuth 2.0 request for an access token using the user's username and password as specified in Resource Owner Password Credentials Grant.
PasswordTokenRequest(HttpTransport, JsonFactory, GenericUrl, String, String) - Constructor for class com.google.api.client.auth.oauth2.PasswordTokenRequest
 
privateKey - Variable in class com.google.api.client.auth.oauth.OAuthRsaSigner
Private key.

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.
refreshToken() - Method in class com.google.api.client.auth.oauth2.Credential
Request a new access token from the authorization endpoint.
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
 

S

service(HttpServletRequest, HttpServletResponse) - Method in class com.google.api.client.extensions.servlet.auth.AbstractFlowUserServlet
 
service(HttpServletRequest, HttpServletResponse) - Method in class com.google.api.client.extensions.servlet.auth.oauth2.AbstractAuthorizationCodeServlet
 
set(String, Object) - Method in class com.google.api.client.auth.oauth2.AuthorizationCodeRequestUrl
 
set(String, Object) - Method in class com.google.api.client.auth.oauth2.AuthorizationCodeResponseUrl
 
set(String, Object) - Method in class com.google.api.client.auth.oauth2.AuthorizationCodeTokenRequest
 
set(String, Object) - Method in class com.google.api.client.auth.oauth2.AuthorizationRequestUrl
 
set(String, Object) - Method in class com.google.api.client.auth.oauth2.BrowserClientRequestUrl
 
set(String, Object) - Method in class com.google.api.client.auth.oauth2.ClientCredentialsTokenRequest
 
set(String, Object) - Method in class com.google.api.client.auth.oauth2.PasswordTokenRequest
 
set(String, Object) - Method in class com.google.api.client.auth.oauth2.RefreshTokenRequest
 
set(String, Object) - Method in class com.google.api.client.auth.oauth2.TokenErrorResponse
 
set(String, Object) - Method in class com.google.api.client.auth.oauth2.TokenRequest
 
set(String, Object) - Method in class com.google.api.client.auth.oauth2.TokenResponse
 
set(String, Object) - Method in class com.google.api.client.auth.openidconnect.IdToken.Payload
 
set(String, Object) - Method in class com.google.api.client.auth.openidconnect.IdTokenResponse
 
set(String, Object) - Method in class com.google.api.client.extensions.java6.auth.oauth2.FilePersistedCredential
Deprecated.
 
set(String, Object) - Method in class com.google.api.client.extensions.java6.auth.oauth2.FilePersistedCredentials
Deprecated.
 
setAcceptableTimeSkewSeconds(long) - Method in class com.google.api.client.auth.openidconnect.IdTokenVerifier.Builder
Sets the seconds of time skew to accept when verifying time (default is IdTokenVerifier.DEFAULT_TIME_SKEW_SECONDS).
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.StoredCredential
Sets the access token or null for none.
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
 
setAccessTokenHash(String) - Method in class com.google.api.client.auth.openidconnect.IdToken.Payload
Sets the access token hash value or null for none.
setAudience(Object) - Method in class com.google.api.client.auth.openidconnect.IdToken.Payload
 
setAudience(Collection<String>) - Method in class com.google.api.client.auth.openidconnect.IdTokenVerifier.Builder
Sets the list of trusted audience client IDs or null to suppress the audience check.
setAuthorizationServerEncodedUrl(String) - Method in class com.google.api.client.auth.oauth2.AuthorizationCodeFlow.Builder
Sets the authorization server encoded URL.
setAuthorizationTimeSeconds(Long) - Method in class com.google.api.client.auth.openidconnect.IdToken.Payload
Sets the time (in seconds) of end-user authorization or null for none.
setAuthorizedParty(String) - Method in class com.google.api.client.auth.openidconnect.IdToken.Payload
Sets the authorized party or null for none.
setClassReference(String) - Method in class com.google.api.client.auth.openidconnect.IdToken.Payload
Sets the authentication context class reference or null for none.
setClientAuthentication(HttpExecuteInterceptor) - Method in class com.google.api.client.auth.oauth2.AuthorizationCodeFlow.Builder
Sets the client authentication or null for none (see TokenRequest.setClientAuthentication(HttpExecuteInterceptor)).
setClientAuthentication(HttpExecuteInterceptor) - Method in class com.google.api.client.auth.oauth2.AuthorizationCodeTokenRequest
 
setClientAuthentication(HttpExecuteInterceptor) - Method in class com.google.api.client.auth.oauth2.ClientCredentialsTokenRequest
 
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.PasswordTokenRequest
 
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.AuthorizationCodeFlow.Builder
Sets the client identifier.
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
 
setClock(Clock) - Method in class com.google.api.client.auth.oauth2.AuthorizationCodeFlow.Builder
Sets the clock to pass to the Credential.
setClock(Clock) - Method in class com.google.api.client.auth.oauth2.Credential.Builder
Sets the clock to use for expiration checks.
setClock(Clock) - Method in class com.google.api.client.auth.openidconnect.IdTokenVerifier.Builder
Sets the clock.
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.
setCredentialCreatedListener(AuthorizationCodeFlow.CredentialCreatedListener) - Method in class com.google.api.client.auth.oauth2.AuthorizationCodeFlow.Builder
Sets the credential created listener or null for none.
setCredentialDataStore(DataStore<StoredCredential>) - Method in class com.google.api.client.auth.oauth2.AuthorizationCodeFlow.Builder
Beta
Sets the stored credential data store or null for none.
setCredentialStore(CredentialStore) - Method in class com.google.api.client.auth.oauth2.AuthorizationCodeFlow.Builder
setDataStoreFactory(DataStoreFactory) - Method in class com.google.api.client.auth.oauth2.AuthorizationCodeFlow.Builder
Beta
Sets the data store factory 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.
setExpirationTimeMilliseconds(Long) - Method in class com.google.api.client.auth.oauth2.StoredCredential
Sets the expected expiration time in milliseconds or null for none.
setExpirationTimeSeconds(Long) - Method in class com.google.api.client.auth.openidconnect.IdToken.Payload
 
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.ClientCredentialsTokenRequest
 
setGrantType(String) - Method in class com.google.api.client.auth.oauth2.PasswordTokenRequest
 
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).
setHost(String) - Method in class com.google.api.client.extensions.jetty.auth.oauth2.LocalServerReceiver.Builder
Sets the host name to use.
setHttpTransport(HttpTransport) - Method in class com.google.api.client.extensions.auth.helpers.oauth.OAuthHmacThreeLeggedFlow
 
setHttpTransport(HttpTransport) - Method in interface com.google.api.client.extensions.auth.helpers.ThreeLeggedFlow
Set HttpTransport instance for this three legged flow.
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.openidconnect.IdToken.Payload
 
setIssuer(String) - Method in class com.google.api.client.auth.openidconnect.IdToken.Payload
 
setIssuer(String) - Method in class com.google.api.client.auth.openidconnect.IdTokenVerifier.Builder
Sets the expected issuer or null to suppress the issuer check.
setJsonFactory(JsonFactory) - Method in class com.google.api.client.auth.oauth2.AuthorizationCodeFlow.Builder
Sets the JSON factory.
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.
setJsonFactory(JsonFactory) - Method in class com.google.api.client.extensions.auth.helpers.oauth.OAuthHmacThreeLeggedFlow
 
setJsonFactory(JsonFactory) - Method in interface com.google.api.client.extensions.auth.helpers.ThreeLeggedFlow
Set JsonFactory instance for this three legged flow.
setJwtId(String) - Method in class com.google.api.client.auth.openidconnect.IdToken.Payload
 
setMethod(Credential.AccessMethod) - Method in class com.google.api.client.auth.oauth2.AuthorizationCodeFlow.Builder
Sets the method of presenting the access token to the resource server (for example BearerToken.authorizationHeaderAccessMethod()).
setMethodsReferences(List<String>) - Method in class com.google.api.client.auth.openidconnect.IdToken.Payload
Sets the authentication methods references or null for none.
setNonce(String) - Method in class com.google.api.client.auth.openidconnect.IdToken.Payload
Sets the value used to associate a client session with an ID token or null for none.
setNotBeforeTimeSeconds(Long) - Method in class com.google.api.client.auth.openidconnect.IdToken.Payload
 
setPassword(String) - Method in class com.google.api.client.auth.oauth2.PasswordTokenRequest
Sets the resource owner password.
setPort(int) - Method in class com.google.api.client.extensions.jetty.auth.oauth2.LocalServerReceiver.Builder
Sets the port to use or -1 to select an unused port.
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(Collection<CredentialRefreshListener>) - Method in class com.google.api.client.auth.oauth2.AuthorizationCodeFlow.Builder
Sets the listeners for refresh token results.
setRefreshListeners(Collection<CredentialRefreshListener>) - Method in class com.google.api.client.auth.oauth2.Credential.Builder
Sets the listeners for refresh token results.
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.StoredCredential
Sets the refresh token or null for none.
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.ClientCredentialsTokenRequest
 
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.PasswordTokenRequest
 
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(Collection<String>) - Method in class com.google.api.client.auth.oauth2.AuthorizationCodeRequestUrl
 
setResponseTypes(Collection<String>) - Method in class com.google.api.client.auth.oauth2.AuthorizationRequestUrl
Sets the response type, which must be "code" for requesting an authorization code, "token" for requesting an access token (implicit grant), or a list of registered extension values to join with a space.
setResponseTypes(Collection<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(Collection<String>) - Method in class com.google.api.client.auth.oauth2.AuthorizationCodeFlow.Builder
Sets the collection of scopes.
setScopes(Collection<String>) - Method in class com.google.api.client.auth.oauth2.AuthorizationCodeRequestUrl
 
setScopes(Collection<String>) - Method in class com.google.api.client.auth.oauth2.AuthorizationCodeTokenRequest
 
setScopes(Collection<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(Collection<String>) - Method in class com.google.api.client.auth.oauth2.BrowserClientRequestUrl
 
setScopes(Collection<String>) - Method in class com.google.api.client.auth.oauth2.ClientCredentialsTokenRequest
 
setScopes(Collection<String>) - Method in class com.google.api.client.auth.oauth2.PasswordTokenRequest
 
setScopes(Collection<String>) - Method in class com.google.api.client.auth.oauth2.RefreshTokenRequest
 
setScopes(Collection<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
 
setSubject(String) - Method in class com.google.api.client.auth.openidconnect.IdToken.Payload
 
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.AuthorizationCodeFlow.Builder
Sets the token server URL.
setTokenServerUrl(GenericUrl) - Method in class com.google.api.client.auth.oauth2.AuthorizationCodeTokenRequest
 
setTokenServerUrl(GenericUrl) - Method in class com.google.api.client.auth.oauth2.ClientCredentialsTokenRequest
 
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.PasswordTokenRequest
 
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.AuthorizationCodeFlow.Builder
Sets the HTTP transport.
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.openidconnect.IdToken.Payload
 
setUsername(String) - Method in class com.google.api.client.auth.oauth2.PasswordTokenRequest
Sets the resource owner username.
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.
stop() - Method in class com.google.api.client.extensions.java6.auth.oauth2.AbstractPromptReceiver
 
stop() - Method in interface com.google.api.client.extensions.java6.auth.oauth2.VerificationCodeReceiver
Releases any resources and stops any processes started.
stop() - Method in class com.google.api.client.extensions.jetty.auth.oauth2.LocalServerReceiver
 
store(String, Credential) - Method in interface com.google.api.client.auth.oauth2.CredentialStore
Deprecated.
Stores the credential of the given user ID.
store(String, Credential) - Method in class com.google.api.client.extensions.appengine.auth.oauth2.AppEngineCredentialStore
Deprecated.
 
store(String, Credential) - Method in class com.google.api.client.extensions.java6.auth.oauth2.FileCredentialStore
Deprecated.
 
StoredCredential - Class in com.google.api.client.auth.oauth2
Beta
Credential information to be stored in a DataStoreFactory.
StoredCredential() - Constructor for class com.google.api.client.auth.oauth2.StoredCredential
 
StoredCredential(Credential) - Constructor for class com.google.api.client.auth.oauth2.StoredCredential
 

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.
ThreeLeggedFlow - Interface in com.google.api.client.extensions.auth.helpers
Beta
Interface for auth flows that require a user authorization step through a web browser to obtain an authorization code.
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.
toString() - Method in class com.google.api.client.auth.oauth2.StoredCredential
 
transport - Variable in class com.google.api.client.auth.oauth.AbstractOAuthGetToken
HTTP transport required for executing request in AbstractOAuthGetToken.execute().

U

usePost - Variable in class com.google.api.client.auth.oauth.AbstractOAuthGetToken
true for POST request or the default false for GET request.

V

VerificationCodeReceiver - Interface in com.google.api.client.extensions.java6.auth.oauth2
OAuth 2.0 verification code receiver.
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.
verify(IdToken) - Method in class com.google.api.client.auth.openidconnect.IdTokenVerifier
Verifies that the given ID token is valid using the cached public keys.
verifyAudience(Collection<String>) - Method in class com.google.api.client.auth.openidconnect.IdToken
Returns whether the audience in the payload contains only client IDs that are trusted as specified in step 2 of ID Token Validation.
verifyExpirationTime(long, long) - Method in class com.google.api.client.auth.openidconnect.IdToken
Returns whether the JsonWebToken.Payload.getExpirationTimeSeconds() is valid relative to the current time, allowing for a clock skew as specified in step 5 of ID Token Validation.
verifyIssuedAtTime(long, long) - Method in class com.google.api.client.auth.openidconnect.IdToken
Returns whether the JsonWebToken.Payload.getIssuedAtTimeSeconds() is valid relative to the current time, allowing for a clock skew as specified in step 6 of ID Token Validation.
verifyIssuer(String) - Method in class com.google.api.client.auth.openidconnect.IdToken
Returns whether the issuer in the payload matches the given expected issuer as specified in step 1 of ID Token Validation.
verifyTime(long, long) - Method in class com.google.api.client.auth.openidconnect.IdToken
Returns whether the JsonWebToken.Payload.getExpirationTimeSeconds() and JsonWebToken.Payload.getIssuedAtTimeSeconds() are valid relative to the current time, allowing for a clock skew as specified in steps 5 and 6 of ID Token Validation.
version - Variable in class com.google.api.client.auth.oauth.OAuthParameters
Must either be "1.0" or null to skip.

W

waitForCode() - Method in class com.google.api.client.extensions.java6.auth.oauth2.AbstractPromptReceiver
 
waitForCode() - Method in interface com.google.api.client.extensions.java6.auth.oauth2.VerificationCodeReceiver
Waits for a verification code.
waitForCode() - Method in class com.google.api.client.extensions.jetty.auth.oauth2.LocalServerReceiver
 
A B C D E F G H I J L M N O P Q R S T U V W 

Copyright © 2011-2015 Google. All Rights Reserved.