A B C D E F G H I J K L M N O P Q R S T U V W X Y
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- 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 aThreeLeggedFlow
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 aThreeLeggedFlow
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
- acceptableTimeSkewSeconds - Variable in class com.google.api.client.auth.openidconnect.IdTokenVerifier
-
Seconds of time skew to accept when verifying time.
- acceptableTimeSkewSeconds - Variable in class com.google.api.client.auth.openidconnect.IdTokenVerifier.Builder
-
Seconds of time skew to accept when verifying time.
- accessToken - Variable in class com.google.api.client.auth.oauth2.Credential
-
Access token issued by the authorization server.
- accessToken - Variable in class com.google.api.client.auth.oauth2.StoredCredential
-
Access token or
null
for none. - accessToken - Variable in class com.google.api.client.auth.oauth2.TokenResponse
-
Access token issued by the authorization server.
- accessToken - Variable in class com.google.api.client.extensions.java6.auth.oauth2.FilePersistedCredential
-
Deprecated.Access token or
null
for none. - accessTokenHash - Variable in class com.google.api.client.auth.openidconnect.IdToken.Payload
-
Access token hash value or
null
for none. - 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.
- alg - Variable in class com.google.api.client.auth.openidconnect.IdTokenVerifier.PublicKeyLoader.JsonWebKey
- appendParameter(StringBuilder, String, String) - Method in class com.google.api.client.auth.oauth.OAuthParameters
- audience - Variable in class com.google.api.client.auth.openidconnect.IdTokenVerifier
-
Unmodifiable list of trusted audience client IDs or
null
to suppress the audience check. - audience - Variable in class com.google.api.client.auth.openidconnect.IdTokenVerifier.Builder
-
List of trusted audience client IDs or
null
to suppress the audience check. - AUTH_CREDENTIAL - Static variable in class com.google.api.client.extensions.servlet.auth.AbstractFlowUserServlet
-
Reserved request context identifier used to store the credential instance in an authorized servlet.
- 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(AuthorizationCodeFlow.Builder) - Constructor for class com.google.api.client.auth.oauth2.AuthorizationCodeFlow
- AuthorizationCodeFlow(Credential.AccessMethod, HttpTransport, JsonFactory, GenericUrl, HttpExecuteInterceptor, String, 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.CredentialCreatedListener - Interface in com.google.api.client.auth.oauth2
-
Listener for a created credential after a successful token response in
AuthorizationCodeFlow.createAndStoreCredential(com.google.api.client.auth.oauth2.TokenResponse, java.lang.String)
. - 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.
- AuthorizationHeaderAccessMethod() - Constructor for class com.google.api.client.auth.oauth2.BearerToken.AuthorizationHeaderAccessMethod
- 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
- authorizationServerEncodedUrl - Variable in class com.google.api.client.auth.oauth2.AuthorizationCodeFlow
-
Authorization server encoded URL.
- authorizationServerEncodedUrl - Variable in class com.google.api.client.auth.oauth2.AuthorizationCodeFlow.Builder
-
Authorization server encoded URL.
- authorizationServerUrl - Variable in class com.google.api.client.extensions.auth.helpers.oauth.OAuthHmacThreeLeggedFlow
-
Authorization url which we will use to talk to the server.
- authorizationTimeSeconds - Variable in class com.google.api.client.auth.openidconnect.IdToken.Payload
-
Time (in seconds) of end-user authorization or
null
for none. - authorizationUrl - Variable in class com.google.api.client.extensions.auth.helpers.oauth.OAuthHmacThreeLeggedFlow
-
Url which is generated to authorize this specific user for this service.
- authorize(String) - Method in class com.google.api.client.extensions.java6.auth.oauth2.AuthorizationCodeInstalledApp
-
Authorizes the installed application to access user's protected data.
- authorizedParty - Variable in class com.google.api.client.auth.openidconnect.IdToken.Payload
-
Authorized party or
null
for none. - authorizer - Variable in class com.google.api.client.extensions.auth.helpers.oauth.OAuthHmacCredential
-
Authorizer instance used to sign requests.
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
- BearerToken.AuthorizationHeaderAccessMethod - Class in com.google.api.client.auth.oauth2
-
Immutable and thread-safe OAuth 2.0 method for accessing protected resources using the Authorization Request Header Field.
- BearerToken.FormEncodedBodyAccessMethod - Class in com.google.api.client.auth.oauth2
-
Immutable and thread-safe OAuth 2.0 method for accessing protected resources using the Form-Encoded Body Parameter.
- BearerToken.QueryParameterAccessMethod - Class in com.google.api.client.auth.oauth2
-
Immutable and thread-safe OAuth 2.0 method for accessing protected resources using the URI Query Parameter.
- 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 toSystem.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
. - Builder() - Constructor for class com.google.api.client.auth.openidconnect.IdTokenVerifier.Builder
- Builder(Credential.AccessMethod) - Constructor for class com.google.api.client.auth.oauth2.Credential.Builder
- Builder(Credential.AccessMethod, HttpTransport, JsonFactory, GenericUrl, HttpExecuteInterceptor, String, String) - Constructor for class com.google.api.client.auth.oauth2.AuthorizationCodeFlow.Builder
- buildEs256PublicKey(IdTokenVerifier.PublicKeyLoader.JsonWebKey) - Method in class com.google.api.client.auth.openidconnect.IdTokenVerifier.PublicKeyLoader
- buildPublicKey(IdTokenVerifier.PublicKeyLoader.JsonWebKey) - Method in class com.google.api.client.auth.openidconnect.IdTokenVerifier.PublicKeyLoader
- buildPublicKey(String) - Method in class com.google.api.client.auth.openidconnect.IdTokenVerifier.PublicKeyLoader
- buildRs256PublicKey(IdTokenVerifier.PublicKeyLoader.JsonWebKey) - Method in class com.google.api.client.auth.openidconnect.IdTokenVerifier.PublicKeyLoader
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 ornull
for a token credentials request. - certificatesLocation - Variable in class com.google.api.client.auth.openidconnect.IdTokenVerifier.Builder
- certificatesLocation - Variable in class com.google.api.client.auth.openidconnect.IdTokenVerifier
- classReference - Variable in class com.google.api.client.auth.openidconnect.IdToken.Payload
-
Authentication context class reference or
null
for none. - clientAuthentication - Variable in class com.google.api.client.auth.oauth2.AuthorizationCodeFlow.Builder
-
Client authentication or
null
for none (seeTokenRequest.setClientAuthentication(HttpExecuteInterceptor)
). - clientAuthentication - Variable in class com.google.api.client.auth.oauth2.AuthorizationCodeFlow
-
Client authentication or
null
for none (seeTokenRequest.setClientAuthentication(HttpExecuteInterceptor)
). - clientAuthentication - Variable in class com.google.api.client.auth.oauth2.Credential.Builder
-
Client authentication or
null
for none (seeTokenRequest.setClientAuthentication(HttpExecuteInterceptor)
). - clientAuthentication - Variable in class com.google.api.client.auth.oauth2.Credential
-
Client authentication or
null
for none. - clientAuthentication - Variable in class com.google.api.client.auth.oauth2.TokenRequest
-
Client authentication or
null
for none. - 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
- clientId - Variable in class com.google.api.client.auth.oauth2.AuthorizationCodeFlow.Builder
-
Client identifier.
- clientId - Variable in class com.google.api.client.auth.oauth2.AuthorizationCodeFlow
-
Client identifier.
- clientId - Variable in class com.google.api.client.auth.oauth2.AuthorizationRequestUrl
-
Client identifier.
- clientId - Variable in class com.google.api.client.auth.oauth2.ClientParametersAuthentication
-
Client identifier issued to the client during the registration process.
- 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.ClientParametersAuthentication
-
Client secret or
null
for none. - clientSharedSecret - Variable in class com.google.api.client.auth.oauth.OAuthHmacSigner
-
Client-shared secret or
null
for none. - clock - Variable in class com.google.api.client.auth.oauth2.AuthorizationCodeFlow.Builder
-
Clock passed along to the Credential.
- clock - Variable in class com.google.api.client.auth.oauth2.AuthorizationCodeFlow
-
Clock passed along to Credential.
- clock - Variable in class com.google.api.client.auth.oauth2.Credential.Builder
-
Clock used for expiration checks.
- clock - Variable in class com.google.api.client.auth.oauth2.Credential
-
Clock used to provide the currentMillis.
- clock - Variable in class com.google.api.client.auth.openidconnect.IdTokenVerifier.Builder
-
Clock.
- clock - Variable in class com.google.api.client.auth.openidconnect.IdTokenVerifier
-
Clock to use for expiration checks.
- 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.
- code - Variable in class com.google.api.client.auth.oauth2.AuthorizationCodeResponseUrl
-
Authorization code generated by the authorization server or
null
for none. - code - Variable in class com.google.api.client.auth.oauth2.AuthorizationCodeTokenRequest
-
Authorization code received from the authorization server.
- 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.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.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
. - completionCodeQueryParam - Variable in class com.google.api.client.extensions.servlet.auth.AbstractCallbackServlet
- 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) - 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.
- 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
andOAuthParameters.signatureMethod
fields. - 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).
- consumerKey - Variable in class com.google.api.client.extensions.auth.helpers.oauth.OAuthHmacCredential
-
Key that identifies the server to the service provider.
- consumerKey - Variable in class com.google.api.client.extensions.auth.helpers.oauth.OAuthHmacThreeLeggedFlow
-
Key that identifies the server to the service provider.
- consumerSecret - Variable in class com.google.api.client.extensions.auth.helpers.oauth.OAuthHmacThreeLeggedFlow
-
Secret that is shared between the server and the service provider.
- create() - Method in interface com.google.api.client.auth.openidconnect.HttpTransportFactory
-
Creates a
HttpTransport
instance. - create() - Method in class com.google.api.client.auth.openidconnect.IdTokenVerifier.DefaultHttpTransportFactory
- 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 - Variable in class com.google.api.client.extensions.servlet.auth.oauth2.AbstractAuthorizationCodeServlet
-
Persisted credential associated with the current request or
null
for none. - 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 - 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 anHttpTransport
object to allow for a streamlined auth experience. - 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.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.
- credentialCreatedListener - Variable in class com.google.api.client.auth.oauth2.AuthorizationCodeFlow.Builder
-
Credential created listener or
null
for none. - credentialCreatedListener - Variable in class com.google.api.client.auth.oauth2.AuthorizationCodeFlow
-
Credential created listener or
null
for none. - credentialDataStore - Variable in class com.google.api.client.auth.oauth2.AuthorizationCodeFlow.Builder
-
Stored credential data store or
null
for none. - credentialDataStore - Variable in class com.google.api.client.auth.oauth2.AuthorizationCodeFlow
-
Stored credential data store or
null
for none. - credentialDataStore - Variable in class com.google.api.client.auth.oauth2.DataStoreCredentialRefreshListener
-
Stored credential data store.
- CredentialRefreshListener - Interface in com.google.api.client.auth.oauth2
-
Listener for refresh token results.
- credentials - Variable in class com.google.api.client.extensions.java6.auth.oauth2.FileCredentialStore
-
Deprecated.User credentials repository.
- credentials - Variable in class com.google.api.client.extensions.java6.auth.oauth2.FilePersistedCredentials
-
Deprecated.User ID to be used as the primary key.
- credentialStore - Variable in class com.google.api.client.auth.oauth2.AuthorizationCodeFlow.Builder
-
Deprecated.
- credentialStore - Variable in class com.google.api.client.auth.oauth2.AuthorizationCodeFlow
-
Deprecated.
- credentialStore - Variable in class com.google.api.client.auth.oauth2.CredentialStoreRefreshListener
-
Deprecated.Credential store.
- CredentialStore - Interface in com.google.api.client.auth.oauth2
-
Deprecated.(to be removed in the future) Use
DataStoreFactory
withStoredCredential
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.
- crv - Variable in class com.google.api.client.auth.openidconnect.IdTokenVerifier.PublicKeyLoader.JsonWebKey
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, DataStore<StoredCredential>) - Constructor for class com.google.api.client.auth.oauth2.DataStoreCredentialRefreshListener
- DataStoreCredentialRefreshListener(String, DataStoreFactory) - Constructor for class com.google.api.client.auth.oauth2.DataStoreCredentialRefreshListener
-
Constructor using
StoredCredential.getDefaultDataStore(DataStoreFactory)
for the stored credential data store. - 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).
- DefaultHttpTransportFactory() - Constructor for class com.google.api.client.auth.openidconnect.IdTokenVerifier.DefaultHttpTransportFactory
- delete(String) - Method in class com.google.api.client.extensions.java6.auth.oauth2.FilePersistedCredentials
-
Deprecated.
- 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.java6.auth.oauth2.FileCredentialStore
-
Deprecated.
- deniedRedirectUrl - Variable in class com.google.api.client.extensions.servlet.auth.AbstractCallbackServlet
- details - Variable in exception com.google.api.client.auth.oauth2.TokenResponseException
-
Token error response details or
null
if unable to parse. - 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
- e - Variable in class com.google.api.client.auth.openidconnect.IdTokenVerifier.PublicKeyLoader.JsonWebKey
- environment - Variable in class com.google.api.client.auth.openidconnect.IdTokenVerifier.Builder
-
wrapper for environment variables
- environment - Variable in class com.google.api.client.auth.openidconnect.IdTokenVerifier
- Environment - Class in com.google.api.client.auth.openidconnect
- Environment() - Constructor for class com.google.api.client.auth.openidconnect.Environment
- equals(Object) - Method in class com.google.api.client.auth.oauth2.StoredCredential
- error - Variable in class com.google.api.client.auth.oauth2.AuthorizationCodeResponseUrl
-
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) ornull
for none. - error - Variable in class com.google.api.client.auth.oauth2.TokenErrorResponse
-
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). - ERROR_PARAM - Static variable in class com.google.api.client.extensions.servlet.auth.AbstractCallbackServlet
- errorDescription - Variable in class com.google.api.client.auth.oauth2.AuthorizationCodeResponseUrl
-
Human-readable text providing additional information used to assist the client developer in understanding the error that occurred or
null
for none. - errorDescription - Variable in class com.google.api.client.auth.oauth2.TokenErrorResponse
-
Human-readable text providing additional information, used to assist the client developer in understanding the error that occurred or
null
for none. - errorUri - Variable in class com.google.api.client.auth.oauth2.AuthorizationCodeResponseUrl
-
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. - errorUri - Variable in class com.google.api.client.auth.oauth2.TokenErrorResponse
-
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. - 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.
- ESCAPER - Static variable in class com.google.api.client.auth.oauth.OAuthParameters
- 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.
- expirationTimeMillis - Variable in class com.google.api.client.extensions.java6.auth.oauth2.FilePersistedCredential
-
Deprecated.Expiration time in milliseconds
null
for none. - expirationTimeMilliseconds - Variable in class com.google.api.client.auth.oauth2.Credential
-
Expected expiration time in milliseconds based on
Credential.setExpiresInSeconds(java.lang.Long)
ornull
for none. - expirationTimeMilliseconds - Variable in class com.google.api.client.auth.oauth2.StoredCredential
-
Expected expiration time in milliseconds or
null
for none. - expiresInSeconds - Variable in class com.google.api.client.auth.oauth2.TokenResponse
-
Lifetime in seconds of the access token (for example 3600 for an hour) or
null
for none.
F
- FEDERATED_SIGNON_CERT_URL - Static variable in class com.google.api.client.auth.openidconnect.IdTokenVerifier
- file - Variable in class com.google.api.client.extensions.java6.auth.oauth2.FileCredentialStore
-
Deprecated.File to store user credentials.
- FileCredentialStore - Class in com.google.api.client.extensions.java6.auth.oauth2
-
Deprecated.(to be removed in the future) Use
FileDataStoreFactory
withStoredCredential
instead, optionally usingFileCredentialStore.migrateTo(FileDataStoreFactory)
orFileCredentialStore.migrateTo(DataStore)
to migrating an existingFileCredentialStore
. - 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.
- flow - Variable in class com.google.api.client.extensions.java6.auth.oauth2.AuthorizationCodeInstalledApp
-
Authorization code flow.
- flow - Variable in class com.google.api.client.extensions.servlet.auth.oauth2.AbstractAuthorizationCodeCallbackServlet
-
Authorization code flow to be used across all HTTP servlet requests or
null
before initialized inAbstractAuthorizationCodeCallbackServlet.initializeFlow()
. - flow - Variable in class com.google.api.client.extensions.servlet.auth.oauth2.AbstractAuthorizationCodeServlet
-
Authorization code flow to be used across all HTTP servlet requests or
null
before initialized inAbstractAuthorizationCodeServlet.initializeFlow()
. - flowType - Variable in class com.google.api.client.extensions.servlet.auth.AbstractCallbackServlet
- 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.
- FormEncodedBodyAccessMethod() - Constructor for class com.google.api.client.auth.oauth2.BearerToken.FormEncodedBodyAccessMethod
- 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 class com.google.api.client.auth.oauth2.BearerToken.AuthorizationHeaderAccessMethod
- getAccessTokenFromRequest(HttpRequest) - Method in class com.google.api.client.auth.oauth2.BearerToken.FormEncodedBodyAccessMethod
- getAccessTokenFromRequest(HttpRequest) - Method in class com.google.api.client.auth.oauth2.BearerToken.QueryParameterAccessMethod
- 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. - getCertificateLocation(JsonWebSignature.Header) - Method in class com.google.api.client.auth.openidconnect.IdTokenVerifier
- 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 (seeTokenRequest.setClientAuthentication(HttpExecuteInterceptor)
). - getClientAuthentication() - Method in class com.google.api.client.auth.oauth2.AuthorizationCodeFlow
-
Returns the client authentication or
null
for none (seeTokenRequest.setClientAuthentication(HttpExecuteInterceptor)
). - getClientAuthentication() - Method in class com.google.api.client.auth.oauth2.Credential.Builder
-
Returns the client authentication or
null
for none (seeTokenRequest.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() - 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. - getCredential(HttpServletRequest) - Method in class com.google.api.client.extensions.servlet.auth.AbstractFlowUserServlet
-
Fetch a credential associated with this request.
- 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 ornull
for none. - getCredentialDataStore() - Method in class com.google.api.client.auth.oauth2.AuthorizationCodeFlow
-
Beta
Returns the stored credential data store ornull
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.
- getData(HttpRequest) - Static method in class com.google.api.client.auth.oauth2.BearerToken.FormEncodedBodyAccessMethod
- 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. - getEnvironment() - Method in class com.google.api.client.auth.openidconnect.IdTokenVerifier.Builder
-
Returns an instance of the
Environment
- 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) ornull
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). - 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 first of equivalent expected issuers or
null
if issuer check suppressed. - getIssuer() - Method in class com.google.api.client.auth.openidconnect.IdTokenVerifier
-
Returns the first of equivalent expected issuers or
null
if issuer check suppressed. - getIssuers() - Method in class com.google.api.client.auth.openidconnect.IdTokenVerifier.Builder
-
Returns the equivalent expected issuers or
null
if issuer check suppressed. - getIssuers() - Method in class com.google.api.client.auth.openidconnect.IdTokenVerifier
-
Returns the equivalent expected issuers or
null
if issuer check suppressed. - 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.
- 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(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.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.
- getVariable(String) - Method in class com.google.api.client.auth.openidconnect.Environment
- grantType - Variable in class com.google.api.client.auth.oauth2.TokenRequest
-
Grant type (
"authorization_code"
,"password"
,"client_credentials"
,"refresh_token"
or absolute URI of the extension grant type).
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
- HEADER_PREFIX - Static variable in class com.google.api.client.auth.oauth2.BearerToken.AuthorizationHeaderAccessMethod
-
Authorization header prefix.
- HTTP_TRANSPORT - Static variable in class com.google.api.client.auth.openidconnect.IdTokenVerifier
- httpTransport - Variable in class com.google.api.client.extensions.servlet.auth.AbstractCallbackServlet
- httpTransport - Variable in class com.google.api.client.extensions.servlet.auth.AbstractFlowUserServlet
- httpTransportFactory - Variable in class com.google.api.client.auth.openidconnect.IdTokenVerifier.Builder
- httpTransportFactory - Variable in class com.google.api.client.auth.openidconnect.IdTokenVerifier.PublicKeyLoader
- HttpTransportFactory - Interface in com.google.api.client.auth.openidconnect
-
A base interface for all
HttpTransport
factories.
I
- IAP_CERT_URL - Static variable in class com.google.api.client.auth.openidconnect.IdTokenVerifier
- idToken - Variable in class com.google.api.client.auth.openidconnect.IdTokenResponse
-
ID token.
- IdToken - Class in com.google.api.client.auth.openidconnect
- 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. - 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
- 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
- IdTokenVerifier.DefaultHttpTransportFactory - Class in com.google.api.client.auth.openidconnect
- IdTokenVerifier.PublicKeyLoader - Class in com.google.api.client.auth.openidconnect
-
Custom CacheLoader for mapping certificate urls to the contained public keys.
- IdTokenVerifier.PublicKeyLoader.JsonWebKey - Class in com.google.api.client.auth.openidconnect
-
Data class used for deserializing a single JSON Web Key.
- IdTokenVerifier.PublicKeyLoader.JsonWebKeySet - Class in com.google.api.client.auth.openidconnect
-
Data class used for deserializing a JSON Web Key Set (JWKS) from an external HTTP request.
- IdTokenVerifier.VerificationException - Exception in com.google.api.client.auth.openidconnect
-
Custom exception for wrapping all verification errors.
- 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) - Method in class com.google.api.client.auth.oauth2.Credential
- intercept(HttpRequest) - Method in class com.google.api.client.extensions.auth.helpers.oauth.OAuthHmacCredential
- intercept(HttpRequest, String) - Method in class com.google.api.client.auth.oauth2.BearerToken.AuthorizationHeaderAccessMethod
- intercept(HttpRequest, String) - Method in class com.google.api.client.auth.oauth2.BearerToken.FormEncodedBodyAccessMethod
- intercept(HttpRequest, String) - Method in class com.google.api.client.auth.oauth2.BearerToken.QueryParameterAccessMethod
- 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. - INVALID_TOKEN_ERROR - Static variable in class com.google.api.client.auth.oauth2.BearerToken
-
In case an abnormal HTTP response is received with
WWW-Authenticate
header, and its value contains this error pattern, we will try to refresh the token. - IS_WINDOWS - Static variable in class com.google.api.client.extensions.java6.auth.oauth2.FileCredentialStore
-
Deprecated.
- 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
- issuers - Variable in class com.google.api.client.auth.openidconnect.IdTokenVerifier.Builder
-
Collection of equivalent expected issuers or
null
to suppress the issuer check. - issuers - Variable in class com.google.api.client.auth.openidconnect.IdTokenVerifier
-
Unmodifiable collection of equivalent expected issuers or
null
to suppress the issuer check. - 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
- jsonFactory - Variable in class com.google.api.client.auth.oauth2.AuthorizationCodeFlow.Builder
-
JSON factory.
- jsonFactory - Variable in class com.google.api.client.auth.oauth2.AuthorizationCodeFlow
-
JSON factory.
- jsonFactory - Variable in class com.google.api.client.auth.oauth2.Credential.Builder
-
JSON factory to use for parsing response for refresh token request or
null
if not refreshing tokens. - jsonFactory - Variable in class com.google.api.client.auth.oauth2.Credential
-
JSON factory to use for parsing response for refresh token request or
null
for none. - jsonFactory - Variable in class com.google.api.client.auth.oauth2.TokenRequest
-
JSON factory.
- jsonFactory - Variable in class com.google.api.client.extensions.java6.auth.oauth2.FileCredentialStore
-
Deprecated.Json factory for serializing user credentials.
- jsonFactory - Variable in class com.google.api.client.extensions.servlet.auth.AbstractCallbackServlet
- jsonFactory - Variable in class com.google.api.client.extensions.servlet.auth.AbstractFlowUserServlet
- JsonWebKey() - Constructor for class com.google.api.client.auth.openidconnect.IdTokenVerifier.PublicKeyLoader.JsonWebKey
- JsonWebKeySet() - Constructor for class com.google.api.client.auth.openidconnect.IdTokenVerifier.PublicKeyLoader.JsonWebKeySet
K
- keys - Variable in class com.google.api.client.auth.openidconnect.IdTokenVerifier.PublicKeyLoader.JsonWebKeySet
- kid - Variable in class com.google.api.client.auth.openidconnect.IdTokenVerifier.PublicKeyLoader.JsonWebKey
- kty - Variable in class com.google.api.client.auth.openidconnect.IdTokenVerifier.PublicKeyLoader.JsonWebKey
L
- load(Credential) - Method in class com.google.api.client.extensions.java6.auth.oauth2.FilePersistedCredential
-
Deprecated.
- load(String) - Method in class com.google.api.client.auth.openidconnect.IdTokenVerifier.PublicKeyLoader
- 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.java6.auth.oauth2.FileCredentialStore
-
Deprecated.
- load(String, Credential) - Method in class com.google.api.client.extensions.java6.auth.oauth2.FilePersistedCredentials
-
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.
- loadCredentials(File) - Method in class com.google.api.client.extensions.java6.auth.oauth2.FileCredentialStore
-
Deprecated.
- lock - Variable in class com.google.api.client.auth.oauth2.Credential
-
Lock on the token response information.
- lock - Variable in class com.google.api.client.auth.oauth2.StoredCredential
-
Lock on access to the store.
- lock - Variable in class com.google.api.client.extensions.java6.auth.oauth2.FileCredentialStore
-
Deprecated.Lock on access to the store.
- lock - Variable in class com.google.api.client.extensions.servlet.auth.oauth2.AbstractAuthorizationCodeCallbackServlet
-
Lock on the flow.
- lock - Variable in class com.google.api.client.extensions.servlet.auth.oauth2.AbstractAuthorizationCodeServlet
-
Lock on the flow and credential.
- LOG - Static variable in class com.google.api.client.extensions.servlet.auth.AbstractCallbackServlet
- LOGGER - Static variable in class com.google.api.client.auth.oauth2.Credential
- LOGGER - Static variable in class com.google.api.client.auth.openidconnect.IdTokenVerifier
- LOGGER - Static variable in class com.google.api.client.extensions.java6.auth.oauth2.AuthorizationCodeInstalledApp
- LOGGER - Static variable in class com.google.api.client.extensions.java6.auth.oauth2.FileCredentialStore
-
Deprecated.
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.
- method - Variable in class com.google.api.client.auth.oauth2.AuthorizationCodeFlow.Builder
-
Method of presenting the access token to the resource server (for example
BearerToken.authorizationHeaderAccessMethod()
). - method - Variable in class com.google.api.client.auth.oauth2.AuthorizationCodeFlow
-
Method of presenting the access token to the resource server (for example
BearerToken.authorizationHeaderAccessMethod()
). - method - Variable in class com.google.api.client.auth.oauth2.Credential.Builder
-
Method of presenting the access token to the resource server (for example
BearerToken.AuthorizationHeaderAccessMethod
). - method - Variable in class com.google.api.client.auth.oauth2.Credential
-
Method of presenting the access token to the resource server (for example
BearerToken.AuthorizationHeaderAccessMethod
). - methodsReferences - Variable in class com.google.api.client.auth.openidconnect.IdToken.Payload
-
Authentication methods references or
null
for none. - migrateTo(DataStore<StoredCredential>) - Method in class com.google.api.client.extensions.java6.auth.oauth2.FileCredentialStore
-
Deprecated.Migrates to the new format using
DataStore
ofStoredCredential
. - migrateTo(DataStore<StoredCredential>) - Method in class com.google.api.client.extensions.java6.auth.oauth2.FilePersistedCredentials
-
Deprecated.
- migrateTo(FileDataStoreFactory) - Method in class com.google.api.client.extensions.java6.auth.oauth2.FileCredentialStore
-
Deprecated.Migrates to the new
FileDataStoreFactory
format.
N
- n - Variable in class com.google.api.client.auth.openidconnect.IdTokenVerifier.PublicKeyLoader.JsonWebKey
- newAuthorizationUrl() - Method in class com.google.api.client.auth.oauth2.AuthorizationCodeFlow
-
Returns a new instance of an authorization code request URL.
- newCredential(String) - Method in class com.google.api.client.auth.oauth2.AuthorizationCodeFlow
-
Returns a new credential instance based on the given user ID.
- 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.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.
- nonce - Variable in class com.google.api.client.auth.openidconnect.IdToken.Payload
-
Value used to associate a client session with an ID token or
null
for none. - NOT_SUPPORTED_ALGORITHM - Static variable in class com.google.api.client.auth.openidconnect.IdTokenVerifier
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
- 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
-
Notifies of a created credential after a successful token response in
AuthorizationCodeFlow.createAndStoreCredential(com.google.api.client.auth.oauth2.TokenResponse, java.lang.String)
. - 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
- PARAM_NAME - Static variable in class com.google.api.client.auth.oauth2.BearerToken
-
Query and form-encoded parameter name.
- 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
- password - Variable in class com.google.api.client.auth.oauth2.PasswordTokenRequest
-
Resource owner password.
- 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
- Payload() - Constructor for class com.google.api.client.auth.openidconnect.IdToken.Payload
- pmf - Variable in class com.google.api.client.extensions.servlet.auth.AbstractCallbackServlet
- postConstruct() - Method in class com.google.api.client.extensions.auth.helpers.oauth.OAuthHmacCredential
- privateKey - Variable in class com.google.api.client.auth.oauth.OAuthRsaSigner
-
Private key.
- publicKeyCache - Variable in class com.google.api.client.auth.openidconnect.IdTokenVerifier
- PublicKeyLoader(HttpTransportFactory) - Constructor for class com.google.api.client.auth.openidconnect.IdTokenVerifier.PublicKeyLoader
- putParameter(TreeMap<String, String>, String, Object) - Method in class com.google.api.client.auth.oauth.OAuthParameters
- putParameterIfValueNotNull(TreeMap<String, String>, String, String) - Method in class com.google.api.client.auth.oauth.OAuthParameters
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.
- QueryParameterAccessMethod() - Constructor for class com.google.api.client.auth.oauth2.BearerToken.QueryParameterAccessMethod
R
- RANDOM - Static variable in class com.google.api.client.auth.oauth.OAuthParameters
-
Secure random number generator to sign requests.
- realm - Variable in class com.google.api.client.auth.oauth.OAuthParameters
-
Realm.
- receiver - Variable in class com.google.api.client.extensions.java6.auth.oauth2.AuthorizationCodeInstalledApp
-
Verification code receiver.
- redirectUri - Variable in class com.google.api.client.auth.oauth2.AuthorizationCodeTokenRequest
-
Redirect URI parameter matching the redirect URI parameter in the authorization request or
null
for none. - redirectUri - Variable in class com.google.api.client.auth.oauth2.AuthorizationRequestUrl
-
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. - redirectUrl - Variable in class com.google.api.client.extensions.servlet.auth.AbstractCallbackServlet
- refreshListeners - Variable in class com.google.api.client.auth.oauth2.AuthorizationCodeFlow.Builder
-
Refresh listeners provided by the client.
- refreshListeners - Variable in class com.google.api.client.auth.oauth2.AuthorizationCodeFlow
-
Refresh listeners provided by the client.
- refreshListeners - Variable in class com.google.api.client.auth.oauth2.Credential.Builder
-
Listeners for refresh token results.
- refreshListeners - Variable in class com.google.api.client.auth.oauth2.Credential
-
Unmodifiable collection of listeners for refresh token results.
- refreshToken - Variable in class com.google.api.client.auth.oauth2.Credential
-
Refresh token which can be used to obtain new access tokens using the same authorization grant or
null
for none. - refreshToken - Variable in class com.google.api.client.auth.oauth2.RefreshTokenRequest
-
Refresh token issued to the client.
- refreshToken - Variable in class com.google.api.client.auth.oauth2.StoredCredential
-
Refresh token or
null
for none. - refreshToken - Variable in class com.google.api.client.auth.oauth2.TokenResponse
-
Refresh token which can be used to obtain new access tokens using
RefreshTokenRequest
ornull
for none. - refreshToken - Variable in class com.google.api.client.extensions.java6.auth.oauth2.FilePersistedCredential
-
Deprecated.Refresh token
null
for none. - 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
- requestInitializer - Variable in class com.google.api.client.auth.oauth2.AuthorizationCodeFlow.Builder
-
HTTP request initializer or
null
for none. - requestInitializer - Variable in class com.google.api.client.auth.oauth2.AuthorizationCodeFlow
-
HTTP request initializer or
null
for none. - requestInitializer - Variable in class com.google.api.client.auth.oauth2.Credential.Builder
-
HTTP request initializer for refresh token requests to the token server or
null
for none. - requestInitializer - Variable in class com.google.api.client.auth.oauth2.Credential
-
HTTP request initializer for refresh token requests to the token server or
null
for none. - requestInitializer - Variable in class com.google.api.client.auth.oauth2.TokenRequest
-
HTTP request initializer or
null
for none. - responseTypes - Variable in class com.google.api.client.auth.oauth2.AuthorizationRequestUrl
-
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.
S
- save() - Method in class com.google.api.client.extensions.java6.auth.oauth2.FileCredentialStore
-
Deprecated.
- scope - Variable in class com.google.api.client.auth.oauth2.TokenResponse
-
Scope of the access token as specified in Access Token Scope or
null
for none. - scopes - Variable in class com.google.api.client.auth.oauth2.AuthorizationCodeFlow.Builder
-
Collection of scopes.
- scopes - Variable in class com.google.api.client.auth.oauth2.AuthorizationCodeFlow
-
Collection of scopes.
- scopes - Variable in class com.google.api.client.auth.oauth2.AuthorizationRequestUrl
-
Space-separated list of scopes (as specified in Access Token Scope) or
null
for none. - scopes - Variable in class com.google.api.client.auth.oauth2.TokenRequest
-
Space-separated list of scopes (as specified in Access Token Scope) or
null
for none. - serialVersionUID - Static variable in class com.google.api.client.auth.oauth2.StoredCredential
- serialVersionUID - Static variable in exception com.google.api.client.auth.oauth2.TokenResponseException
- serialVersionUID - Static variable in class com.google.api.client.extensions.servlet.auth.AbstractCallbackServlet
- serialVersionUID - Static variable in class com.google.api.client.extensions.servlet.auth.AbstractFlowUserServlet
- serialVersionUID - Static variable in class com.google.api.client.extensions.servlet.auth.oauth2.AbstractAuthorizationCodeCallbackServlet
- serialVersionUID - Static variable in class com.google.api.client.extensions.servlet.auth.oauth2.AbstractAuthorizationCodeServlet
- 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. - setCertificatesLocation(String) - Method in class com.google.api.client.auth.openidconnect.IdTokenVerifier.Builder
-
Override the location URL that contains published public keys.
- 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 (seeTokenRequest.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 (seeTokenRequest.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 ornull
for none. - setCredentialStore(CredentialStore) - Method in class com.google.api.client.auth.oauth2.AuthorizationCodeFlow.Builder
-
Deprecated.(to be removed in the future) Use
AuthorizationCodeFlow.Builder.setDataStoreFactory(DataStoreFactory)
orAuthorizationCodeFlow.Builder.setCredentialDataStore(DataStore)
instead. - setDataStoreFactory(DataStoreFactory) - Method in class com.google.api.client.auth.oauth2.AuthorizationCodeFlow.Builder
-
Beta
Sets the data store factory ornull
for none. - setEnvironment(Environment) - Method in class com.google.api.client.auth.openidconnect.IdTokenVerifier.Builder
-
Sets the environment.
- 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) ornull
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), andexpires-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). - 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. - setHttpTransportFactory(HttpTransportFactory) - Method in class com.google.api.client.auth.openidconnect.IdTokenVerifier.Builder
-
Sets the HttpTransportFactory used for requesting public keys from the certificate URL.
- 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. - setIssuers(Collection<String>) - Method in class com.google.api.client.auth.openidconnect.IdTokenVerifier.Builder
-
Sets the list of equivalent expected issuers 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.
- 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.
- sharedSecret - Variable in class com.google.api.client.extensions.auth.helpers.oauth.OAuthHmacCredential
-
Secret that the server shares with the service provider.
- 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.
- SKIP_SIGNATURE_ENV_VAR - Static variable in class com.google.api.client.auth.openidconnect.IdTokenVerifier
- startAuthFlow(HttpServletResponse, PersistenceManager, ThreeLeggedFlow) - Method in class com.google.api.client.extensions.servlet.auth.AbstractFlowUserServlet
-
Start the auth flow.
- state - Variable in class com.google.api.client.auth.oauth2.AuthorizationCodeResponseUrl
-
State parameter matching the state parameter in the authorization request or
null
for none. - state - Variable in class com.google.api.client.auth.oauth2.AuthorizationRequestUrl
-
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. - 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.
- store(Credential) - Method in class com.google.api.client.extensions.java6.auth.oauth2.FilePersistedCredential
-
Deprecated.Store information from the credential.
- 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.java6.auth.oauth2.FileCredentialStore
-
Deprecated.
- store(String, Credential) - Method in class com.google.api.client.extensions.java6.auth.oauth2.FilePersistedCredentials
-
Deprecated.Store information from the credential.
- StoredCredential - Class in com.google.api.client.auth.oauth2
-
Beta
Credential information to be stored in aDataStoreFactory
. - StoredCredential() - Constructor for class com.google.api.client.auth.oauth2.StoredCredential
- StoredCredential(Credential) - Constructor for class com.google.api.client.auth.oauth2.StoredCredential
- SUPPORTED_ALGORITHMS - Static variable in class com.google.api.client.auth.openidconnect.IdTokenVerifier
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.
- tempToken - Variable in class com.google.api.client.extensions.auth.helpers.oauth.OAuthHmacThreeLeggedFlow
-
Temporary token that gets associated with this flow.
- tempTokenSecret - Variable in class com.google.api.client.extensions.auth.helpers.oauth.OAuthHmacThreeLeggedFlow
-
Temporary secret that gets associated with the 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. - token - Variable in class com.google.api.client.extensions.auth.helpers.oauth.OAuthHmacCredential
-
Token that has been authorized by the end user to allow the server to access the resources or
null
for none. - 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
- TokenResponseException(HttpResponseException.Builder, TokenErrorResponse) - Constructor for exception com.google.api.client.auth.oauth2.TokenResponseException
- tokenSecret - Variable in class com.google.api.client.auth.oauth.OAuthCredentialsResponse
-
Credentials shared-secret for use with
"HMAC-SHA1"
signature algorithm. - tokenServerEncodedUrl - Variable in class com.google.api.client.auth.oauth2.AuthorizationCodeFlow
-
Token server encoded URL.
- tokenServerEncodedUrl - Variable in class com.google.api.client.auth.oauth2.Credential
-
Encoded token server URL or
null
for none. - tokenServerUrl - Variable in class com.google.api.client.auth.oauth2.AuthorizationCodeFlow.Builder
-
Token server URL.
- tokenServerUrl - Variable in class com.google.api.client.auth.oauth2.Credential.Builder
-
Token server URL or
null
if not refreshing tokens. - tokenServerUrl - Variable in class com.google.api.client.auth.oauth2.TokenRequest
-
Token server URL.
- tokenSharedSecret - Variable in class com.google.api.client.auth.oauth.OAuthHmacSigner
-
Token-shared secret or
null
for none. - tokenSharedSecret - Variable in class com.google.api.client.extensions.auth.helpers.oauth.OAuthHmacCredential
-
Token secret that server uses to authenticate the requests.
- tokenType - Variable in class com.google.api.client.auth.oauth2.TokenResponse
-
Token type (as specified in Access Token Types).
- toStoredCredential() - Method in class com.google.api.client.extensions.java6.auth.oauth2.FilePersistedCredential
-
Deprecated.
- 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()
. - transport - Variable in class com.google.api.client.auth.oauth2.AuthorizationCodeFlow.Builder
-
HTTP transport.
- transport - Variable in class com.google.api.client.auth.oauth2.AuthorizationCodeFlow
-
HTTP transport.
- transport - Variable in class com.google.api.client.auth.oauth2.Credential.Builder
-
HTTP transport for executing refresh token request or
null
if not refreshing tokens. - transport - Variable in class com.google.api.client.auth.oauth2.Credential
-
HTTP transport for executing refresh token request or
null
for none. - transport - Variable in class com.google.api.client.auth.oauth2.TokenRequest
-
HTTP transport.
- transport - Variable in class com.google.api.client.extensions.auth.helpers.oauth.OAuthHmacThreeLeggedFlow
-
Http transport to use to communicate with the auth server.
U
- use - Variable in class com.google.api.client.auth.openidconnect.IdTokenVerifier.PublicKeyLoader.JsonWebKey
- usePost - Variable in class com.google.api.client.auth.oauth.AbstractOAuthGetToken
-
true
for POST request or the defaultfalse
for GET request. - userId - Variable in class com.google.api.client.auth.oauth2.CredentialStoreRefreshListener
-
Deprecated.User ID whose credential is to be updated.
- userId - Variable in class com.google.api.client.auth.oauth2.DataStoreCredentialRefreshListener
-
User ID whose credential is to be updated.
- userId - Variable in class com.google.api.client.extensions.auth.helpers.oauth.OAuthHmacCredential
-
Primary key that will be used to store and retrieve this credential.
- userId - Variable in class com.google.api.client.extensions.auth.helpers.oauth.OAuthHmacThreeLeggedFlow
-
Key that can be used to associate this flow with an end user.
- username - Variable in class com.google.api.client.auth.oauth2.PasswordTokenRequest
-
Resource owner username.
V
- VerificationCodeReceiver - Interface in com.google.api.client.extensions.java6.auth.oauth2
-
OAuth 2.0 verification code receiver.
- VerificationException(String) - Constructor for exception com.google.api.client.auth.openidconnect.IdTokenVerifier.VerificationException
- VerificationException(String, Throwable) - Constructor for exception com.google.api.client.auth.openidconnect.IdTokenVerifier.VerificationException
- 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.
- verifyIssuer(Collection<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.
- verifySignature(IdToken) - Method in class com.google.api.client.auth.openidconnect.IdTokenVerifier
- verifyTime(long, long) - Method in class com.google.api.client.auth.openidconnect.IdToken
-
Returns whether the
JsonWebToken.Payload.getExpirationTimeSeconds()
andJsonWebToken.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.
X
- x - Variable in class com.google.api.client.auth.openidconnect.IdTokenVerifier.PublicKeyLoader.JsonWebKey
Y
- y - Variable in class com.google.api.client.auth.openidconnect.IdTokenVerifier.PublicKeyLoader.JsonWebKey
All Classes All Packages