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

A

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
 
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.
AuthorizationCodeFlow - Class in com.google.api.client.auth.oauth2
Thread-safe OAuth 2.0 authorization code flow that manages and persists end-user credentials.
AuthorizationCodeFlow(Credential.AccessMethod, HttpTransport, JsonFactory, GenericUrl, HttpExecuteInterceptor, String, String) - Constructor for class com.google.api.client.auth.oauth2.AuthorizationCodeFlow
 
AuthorizationCodeFlow(AuthorizationCodeFlow.Builder) - Constructor for class com.google.api.client.auth.oauth2.AuthorizationCodeFlow
 
AuthorizationCodeFlow.Builder - Class in com.google.api.client.auth.oauth2
Authorization code flow builder.
AuthorizationCodeFlow.Builder(Credential.AccessMethod, HttpTransport, JsonFactory, GenericUrl, HttpExecuteInterceptor, String, String) - Constructor for class com.google.api.client.auth.oauth2.AuthorizationCodeFlow.Builder
 
AuthorizationCodeFlow.CredentialCreatedListener - Interface in com.google.api.client.auth.oauth2
AuthorizationCodeRequestUrl - Class in com.google.api.client.auth.oauth2
OAuth 2.0 URL builder for an authorization web page to allow the end user to authorize the application to access their protected resources and that returns an authorization code, as specified in Authorization Code Grant.
AuthorizationCodeRequestUrl(String, String) - Constructor for class com.google.api.client.auth.oauth2.AuthorizationCodeRequestUrl
 
AuthorizationCodeResponseUrl - Class in com.google.api.client.auth.oauth2
OAuth 2.0 URL parser for the redirect URL after end user grants or denies authorization as specified in Authorization Response.
AuthorizationCodeResponseUrl(String) - Constructor for class com.google.api.client.auth.oauth2.AuthorizationCodeResponseUrl
 
AuthorizationCodeTokenRequest - Class in com.google.api.client.auth.oauth2
OAuth 2.0 request for an access token using an authorization code as specified in Access Token Request.
AuthorizationCodeTokenRequest(HttpTransport, JsonFactory, GenericUrl, String) - Constructor for class com.google.api.client.auth.oauth2.AuthorizationCodeTokenRequest
 
authorizationHeaderAccessMethod() - Static method in class com.google.api.client.auth.oauth2.BearerToken
Returns a new instance of an immutable and thread-safe OAuth 2.0 method for accessing protected resources using the Authorization Request Header Field.
AuthorizationRequestUrl - Class in com.google.api.client.auth.oauth2
OAuth 2.0 URL builder for an authorization web page to allow the end user to authorize the application to access their protected resources, as specified in Authorization Endpoint.
AuthorizationRequestUrl(String, String, Collection<String>) - Constructor for class com.google.api.client.auth.oauth2.AuthorizationRequestUrl
 

B

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

C

callback - Variable in class com.google.api.client.auth.oauth.OAuthGetTemporaryToken
Optional absolute URI back to which the server will redirect the resource owner when the Resource Owner Authorization step is completed or null for none.
callback - Variable in class com.google.api.client.auth.oauth.OAuthParameters
Absolute URI back to which the server will redirect the resource owner when the Resource Owner Authorization step is completed.
callbackConfirmed - Variable in class com.google.api.client.auth.oauth.OAuthCredentialsResponse
"true" for temporary credentials request or null for a token credentials request.
ClientCredentialsTokenRequest - Class in com.google.api.client.auth.oauth2
OAuth 2.0 request for an access token using only its client credentials as specified in Client Credentials Grant.
ClientCredentialsTokenRequest(HttpTransport, JsonFactory, GenericUrl) - Constructor for class com.google.api.client.auth.oauth2.ClientCredentialsTokenRequest
 
ClientParametersAuthentication - Class in com.google.api.client.auth.oauth2
Client credentials specified as URL-encoded parameters in the HTTP request body as specified in Client Password
ClientParametersAuthentication(String, String) - Constructor for class com.google.api.client.auth.oauth2.ClientParametersAuthentication
 
clientSharedSecret - Variable in class com.google.api.client.auth.oauth.OAuthHmacSigner
Client-shared secret or null for none.
clone() - Method in class com.google.api.client.auth.oauth2.AuthorizationCodeRequestUrl
 
clone() - Method in class com.google.api.client.auth.oauth2.AuthorizationCodeResponseUrl
 
clone() - Method in class com.google.api.client.auth.oauth2.AuthorizationRequestUrl
 
clone() - Method in class com.google.api.client.auth.oauth2.BrowserClientRequestUrl
 
clone() - Method in class com.google.api.client.auth.oauth2.TokenErrorResponse
 
clone() - Method in class com.google.api.client.auth.oauth2.TokenResponse
 
clone() - Method in class com.google.api.client.auth.openidconnect.IdToken.Payload
 
clone() - Method in class com.google.api.client.auth.openidconnect.IdTokenResponse
 
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
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 nonce field.
computeSignature(String) - Method in class com.google.api.client.auth.oauth.OAuthHmacSigner
 
computeSignature(String, GenericUrl) - Method in class com.google.api.client.auth.oauth.OAuthParameters
Computes a new signature based on the fields and the given request method and URL, setting the values of the signature and signatureMethod fields.
computeSignature(String) - Method in class com.google.api.client.auth.oauth.OAuthRsaSigner
 
computeSignature(String) - Method in interface com.google.api.client.auth.oauth.OAuthSigner
Returns the signature computed from the given signature base string.
computeTimestamp() - Method in class com.google.api.client.auth.oauth.OAuthParameters
Computes a timestamp based on the current system time, setting the value of the timestamp field.
consumerKey - Variable in class com.google.api.client.auth.oauth.AbstractOAuthGetToken
Required identifier portion of the client credentials (equivalent to a username).
consumerKey - Variable in class com.google.api.client.auth.oauth.OAuthParameters
Required identifier portion of the client credentials (equivalent to a username).
createAndStoreCredential(TokenResponse, String) - Method in class com.google.api.client.auth.oauth2.AuthorizationCodeFlow
Creates a new credential for the given user ID based on the given token response and store in the credential store.
createParameters() - Method in class com.google.api.client.auth.oauth.AbstractOAuthGetToken
Returns a new instance of the OAuth authentication provider.
createParameters() - Method in class com.google.api.client.auth.oauth.OAuthGetAccessToken
 
createParameters() - Method in class com.google.api.client.auth.oauth.OAuthGetTemporaryToken
 
Credential - Class in com.google.api.client.auth.oauth2
Thread-safe OAuth 2.0 helper for accessing protected resources using an access token, as well as optionally refreshing the access token when it expires using a refresh token.
Credential(Credential.AccessMethod) - Constructor for class com.google.api.client.auth.oauth2.Credential
Constructor with the ability to access protected resources, but not refresh tokens.
Credential(Credential.Builder) - Constructor for class com.google.api.client.auth.oauth2.Credential
 
Credential.AccessMethod - Interface in com.google.api.client.auth.oauth2
Method of presenting the access token to the resource server as specified in Accessing Protected Resources.
Credential.Builder - Class in com.google.api.client.auth.oauth2
Credential builder.
Credential.Builder(Credential.AccessMethod) - Constructor for class com.google.api.client.auth.oauth2.Credential.Builder
 
CredentialRefreshListener - Interface in com.google.api.client.auth.oauth2
Listener for refresh token results.
CredentialStore - Interface in com.google.api.client.auth.oauth2
Deprecated.
(to be removed in the future) Use DataStoreFactory with StoredCredential instead.
CredentialStoreRefreshListener - Class in com.google.api.client.auth.oauth2
Deprecated.
(to be removed in the future) Use DataStoreCredentialRefreshListener instead.
CredentialStoreRefreshListener(String, CredentialStore) - Constructor for class com.google.api.client.auth.oauth2.CredentialStoreRefreshListener
Deprecated.
 

D

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

E

equals(Object) - Method in class com.google.api.client.auth.oauth2.StoredCredential
 
escape(String) - Static method in class com.google.api.client.auth.oauth.OAuthParameters
Returns the escaped form of the given value using OAuth escaping rules.
execute() - Method in class com.google.api.client.auth.oauth.AbstractOAuthGetToken
Executes the HTTP request for a temporary or long-lived token.
execute() - Method in class com.google.api.client.auth.oauth2.TokenRequest
Executes request for an access token, and returns the parsed access token response.
execute(TokenRequest) - Static method in class com.google.api.client.auth.openidconnect.IdTokenResponse
Executes the given ID token request, and returns the parsed ID token response.
executeRefreshToken() - Method in class com.google.api.client.auth.oauth2.Credential
Executes a request for new credentials from the token server.
executeUnparsed() - Method in class com.google.api.client.auth.oauth2.TokenRequest
Executes request for an access token, and returns the HTTP response.

F

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

G

getAcceptableTimeSkewSeconds() - Method in class com.google.api.client.auth.openidconnect.IdTokenVerifier.Builder
Returns the seconds of time skew to accept when verifying time.
getAcceptableTimeSkewSeconds() - Method in class com.google.api.client.auth.openidconnect.IdTokenVerifier
Returns the seconds of time skew to accept when verifying time.
getAccessToken() - Method in class com.google.api.client.auth.oauth2.Credential
Returns the access token or null for none.
getAccessToken() - Method in class com.google.api.client.auth.oauth2.StoredCredential
Returns the access token or null for none.
getAccessToken() - Method in class com.google.api.client.auth.oauth2.TokenResponse
Returns the access token issued by the authorization server.
getAccessTokenFromRequest(HttpRequest) - Method in interface com.google.api.client.auth.oauth2.Credential.AccessMethod
Retrieve the original access token in the HTTP request, as provided in Credential.AccessMethod.intercept(HttpRequest, String).
getAccessTokenHash() - Method in class com.google.api.client.auth.openidconnect.IdToken.Payload
Returns the access token hash value or null for none.
getAudience() - Method in class com.google.api.client.auth.openidconnect.IdTokenVerifier.Builder
Returns the list of trusted audience client IDs or null to suppress the audience check.
getAudience() - Method in class com.google.api.client.auth.openidconnect.IdTokenVerifier
Returns the unmodifiable list of trusted audience client IDs or null to suppress the audience check.
getAuthorizationHeader() - Method in class com.google.api.client.auth.oauth.OAuthParameters
Returns the Authorization header value to use with the OAuth parameter values found in the fields.
getAuthorizationServerEncodedUrl() - Method in class com.google.api.client.auth.oauth2.AuthorizationCodeFlow.Builder
Returns the authorization server encoded URL.
getAuthorizationServerEncodedUrl() - Method in class com.google.api.client.auth.oauth2.AuthorizationCodeFlow
Returns the authorization server encoded URL.
getAuthorizationTimeSeconds() - Method in class com.google.api.client.auth.openidconnect.IdToken.Payload
Returns the time (in seconds) of end-user authorization or null for none.
getAuthorizedParty() - Method in class com.google.api.client.auth.openidconnect.IdToken.Payload
Returns the authorized party or null for none.
getClassReference() - Method in class com.google.api.client.auth.openidconnect.IdToken.Payload
Returns the authentication context class reference or null for none.
getClientAuthentication() - Method in class com.google.api.client.auth.oauth2.AuthorizationCodeFlow.Builder
Returns the client authentication or null for none (see TokenRequest.setClientAuthentication(HttpExecuteInterceptor)).
getClientAuthentication() - Method in class com.google.api.client.auth.oauth2.AuthorizationCodeFlow
Returns the client authentication or null for none (see TokenRequest.setClientAuthentication(HttpExecuteInterceptor)).
getClientAuthentication() - Method in class com.google.api.client.auth.oauth2.Credential.Builder
Returns the client authentication or null for none (see TokenRequest.setClientAuthentication(HttpExecuteInterceptor)).
getClientAuthentication() - Method in class com.google.api.client.auth.oauth2.Credential
Returns the client authentication or null for none.
getClientAuthentication() - Method in class com.google.api.client.auth.oauth2.TokenRequest
Returns the client authentication or null for none.
getClientId() - Method in class com.google.api.client.auth.oauth2.AuthorizationCodeFlow.Builder
Returns the client identifier.
getClientId() - Method in class com.google.api.client.auth.oauth2.AuthorizationCodeFlow
Returns the client identifier.
getClientId() - Method in class com.google.api.client.auth.oauth2.AuthorizationRequestUrl
Returns the client identifier.
getClientId() - Method in class com.google.api.client.auth.oauth2.ClientParametersAuthentication
Returns the client identifier issued to the client during the registration process.
getClientSecret() - Method in class com.google.api.client.auth.oauth2.ClientParametersAuthentication
Returns the client secret or null for none.
getClock() - Method in class com.google.api.client.auth.oauth2.AuthorizationCodeFlow.Builder
Returns the clock passed along to the Credential or Clock.SYSTEM when system default is used.
getClock() - Method in class com.google.api.client.auth.oauth2.AuthorizationCodeFlow
Returns the clock which will be passed along to the Credential.
getClock() - Method in class com.google.api.client.auth.oauth2.Credential.Builder
Returns the clock to use for expiration checks or Clock.SYSTEM as default.
getClock() - Method in class com.google.api.client.auth.oauth2.Credential
Returns the clock used for expiration checks by this Credential.
getClock() - Method in class com.google.api.client.auth.openidconnect.IdTokenVerifier.Builder
Returns the clock.
getClock() - Method in class com.google.api.client.auth.openidconnect.IdTokenVerifier
Returns the clock.
getCode() - Method in class com.google.api.client.auth.oauth2.AuthorizationCodeResponseUrl
Returns the authorization code generated by the authorization server or null for none.
getCode() - Method in class com.google.api.client.auth.oauth2.AuthorizationCodeTokenRequest
Returns the authorization code generated by the authorization server.
getCredentialCreatedListener() - Method in class com.google.api.client.auth.oauth2.AuthorizationCodeFlow.Builder
Returns the credential created listener or null for none.
getCredentialDataStore() - Method in class com.google.api.client.auth.oauth2.AuthorizationCodeFlow.Builder
Beta
Returns the stored credential data store or null for none.
getCredentialDataStore() - Method in class com.google.api.client.auth.oauth2.AuthorizationCodeFlow
Beta
Returns the stored credential data store or null for none.
getCredentialDataStore() - Method in class com.google.api.client.auth.oauth2.DataStoreCredentialRefreshListener
Returns the stored credential data store.
getCredentialStore() - Method in class com.google.api.client.auth.oauth2.AuthorizationCodeFlow.Builder
Deprecated.
(to be removed in the future) Use AuthorizationCodeFlow.Builder.getCredentialDataStore() instead.
getCredentialStore() - Method in class com.google.api.client.auth.oauth2.AuthorizationCodeFlow
Deprecated.
(to be removed in the future) Use AuthorizationCodeFlow.getCredentialDataStore() instead.
getCredentialStore() - Method in class com.google.api.client.auth.oauth2.CredentialStoreRefreshListener
Deprecated.
Returns the credential store.
getDefaultDataStore(DataStoreFactory) - Static method in class com.google.api.client.auth.oauth2.StoredCredential
Returns the stored credential data store using the ID StoredCredential.DEFAULT_DATA_STORE_ID.
getDetails() - Method in exception com.google.api.client.auth.oauth2.TokenResponseException
Returns the token error response details or null if unable to parse.
getError() - Method in class com.google.api.client.auth.oauth2.AuthorizationCodeResponseUrl
Returns the error code ("invalid_request", "unauthorized_client", "access_denied", "unsupported_response_type", "invalid_scope", "server_error", "temporarily_unavailable", or an extension error code as specified in Defining Additional Error Codes) or null for none.
getError() - Method in class com.google.api.client.auth.oauth2.TokenErrorResponse
Returns the error code ("invalid_request", "invalid_client", "invalid_grant", "unauthorized_client", "unsupported_grant_type", "invalid_scope", or an extension error code as specified in Defining Additional Error Codes).
getErrorDescription() - Method in class com.google.api.client.auth.oauth2.AuthorizationCodeResponseUrl
Returns the human-readable text providing additional information used to assist the client developer in understanding the error that occurred or null for none.
getErrorDescription() - Method in class com.google.api.client.auth.oauth2.TokenErrorResponse
Returns the human-readable text providing additional information, used to assist the client developer in understanding the error that occurred or null for none.
getErrorUri() - Method in class com.google.api.client.auth.oauth2.AuthorizationCodeResponseUrl
Returns the URI identifying a human-readable web page with information about the error used to provide the client developer with additional information about the error or null for none.
getErrorUri() - Method in class com.google.api.client.auth.oauth2.TokenErrorResponse
Returns the URI identifying a human-readable web page with information about the error, used to provide the client developer with additional information about the error or null for none.
getExpirationTimeMilliseconds() - Method in class com.google.api.client.auth.oauth2.Credential
Expected expiration time in milliseconds or null for none.
getExpirationTimeMilliseconds() - Method in class com.google.api.client.auth.oauth2.StoredCredential
Returns the expected expiration time in milliseconds or null for none.
getExpiresInSeconds() - Method in class com.google.api.client.auth.oauth2.Credential
Returns the remaining lifetime in seconds of the access token (for example 3600 for an hour, or -3600 if expired an hour ago) or null if unknown.
getExpiresInSeconds() - Method in class com.google.api.client.auth.oauth2.TokenResponse
Returns the lifetime in seconds of the access token (for example 3600 for an hour) or null for none.
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).
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.
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
 
getRedirectUri() - Method in class com.google.api.client.auth.oauth2.AuthorizationCodeTokenRequest
Returns the redirect URI parameter matching the redirect URI parameter in the authorization request or null for none.
getRedirectUri() - Method in class com.google.api.client.auth.oauth2.AuthorizationRequestUrl
Returns the URI that the authorization server directs the resource owner's user-agent back to the client after a successful authorization grant (as specified in Redirection Endpoint) or null for none.
getRefreshListeners() - Method in class com.google.api.client.auth.oauth2.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.
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.
getUsername() - Method in class com.google.api.client.auth.oauth2.PasswordTokenRequest
Returns the resource owner username.

H

handleResponse(HttpRequest, HttpResponse, boolean) - Method in class com.google.api.client.auth.oauth2.Credential
hashCode() - Method in class com.google.api.client.auth.oauth2.StoredCredential
 

I

IdToken - Class in com.google.api.client.auth.openidconnect
Beta
ID token as described in ID Token.
IdToken(JsonWebSignature.Header, IdToken.Payload, byte[], byte[]) - Constructor for class com.google.api.client.auth.openidconnect.IdToken
 
IdToken.Payload - Class in com.google.api.client.auth.openidconnect
Beta
ID token payload.
IdToken.Payload() - Constructor for class com.google.api.client.auth.openidconnect.IdToken.Payload
 
IdTokenResponse - Class in com.google.api.client.auth.openidconnect
Beta
OAuth ID Connect JSON model for a successful access token response as specified in OpenID Connect Basic Client Profile 1.0 (draft 23).
IdTokenResponse() - Constructor for class com.google.api.client.auth.openidconnect.IdTokenResponse
 
IdTokenVerifier - Class in com.google.api.client.auth.openidconnect
Beta
Thread-safe ID token verifier based on ID Token Validation.
IdTokenVerifier() - Constructor for class com.google.api.client.auth.openidconnect.IdTokenVerifier
 
IdTokenVerifier(IdTokenVerifier.Builder) - Constructor for class com.google.api.client.auth.openidconnect.IdTokenVerifier
 
IdTokenVerifier.Builder - Class in com.google.api.client.auth.openidconnect
Beta
Builder for IdTokenVerifier.
IdTokenVerifier.Builder() - Constructor for class com.google.api.client.auth.openidconnect.IdTokenVerifier.Builder
 
initialize(HttpRequest) - Method in class com.google.api.client.auth.oauth.OAuthParameters
 
initialize(HttpRequest) - Method in class com.google.api.client.auth.oauth2.ClientParametersAuthentication
 
initialize(HttpRequest) - Method in class com.google.api.client.auth.oauth2.Credential
 
intercept(HttpRequest) - Method in class com.google.api.client.auth.oauth.OAuthParameters
 
intercept(HttpRequest) - Method in class com.google.api.client.auth.oauth2.ClientParametersAuthentication
 
intercept(HttpRequest, String) - Method in interface com.google.api.client.auth.oauth2.Credential.AccessMethod
Intercept the HTTP request during Credential.intercept(HttpRequest) right before the HTTP request executes by providing the access token.
intercept(HttpRequest) - Method in class com.google.api.client.auth.oauth2.Credential

L

load(String, Credential) - Method in interface com.google.api.client.auth.oauth2.CredentialStore
Deprecated.
Loads the credential for the given user ID.
loadCredential(String) - Method in class com.google.api.client.auth.oauth2.AuthorizationCodeFlow
Loads the credential of the given user ID from the credential store.

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.

N

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

O

OAuthAuthorizeTemporaryTokenUrl - Class in com.google.api.client.auth.oauth
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
 
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
 
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.
onCredentialCreated(Credential, TokenResponse) - Method in interface com.google.api.client.auth.oauth2.AuthorizationCodeFlow.CredentialCreatedListener
onTokenErrorResponse(Credential, TokenErrorResponse) - Method in interface com.google.api.client.auth.oauth2.CredentialRefreshListener
Notifies of an error token response from Credential.refreshToken().
onTokenErrorResponse(Credential, TokenErrorResponse) - Method in class com.google.api.client.auth.oauth2.CredentialStoreRefreshListener
Deprecated.
 
onTokenErrorResponse(Credential, TokenErrorResponse) - Method in class com.google.api.client.auth.oauth2.DataStoreCredentialRefreshListener
 
onTokenResponse(Credential, TokenResponse) - Method in interface com.google.api.client.auth.oauth2.CredentialRefreshListener
Notifies of a successful token response from Credential.refreshToken().
onTokenResponse(Credential, TokenResponse) - Method in class com.google.api.client.auth.oauth2.CredentialStoreRefreshListener
Deprecated.
 
onTokenResponse(Credential, TokenResponse) - Method in class com.google.api.client.auth.oauth2.DataStoreCredentialRefreshListener
 

P

parse(JsonFactory, String) - Static method in class com.google.api.client.auth.openidconnect.IdToken
Parses the given ID token string and returns the parsed ID token.
parseIdToken() - Method in class com.google.api.client.auth.openidconnect.IdTokenResponse
Parses using JsonWebSignature.parse(JsonFactory, String) based on the JSON factory and ID token.
PasswordTokenRequest - Class in com.google.api.client.auth.oauth2
OAuth 2.0 request for an access token using the user's username and password as specified in Resource Owner Password Credentials Grant.
PasswordTokenRequest(HttpTransport, JsonFactory, GenericUrl, String, String) - Constructor for class com.google.api.client.auth.oauth2.PasswordTokenRequest
 
privateKey - Variable in class com.google.api.client.auth.oauth.OAuthRsaSigner
Private key.

Q

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

R

realm - Variable in class com.google.api.client.auth.oauth.OAuthParameters
Realm.
refreshToken() - Method in class com.google.api.client.auth.oauth2.Credential
Request a new access token from the authorization endpoint.
RefreshTokenRequest - Class in com.google.api.client.auth.oauth2
OAuth 2.0 request to refresh an access token using a refresh token as specified in Refreshing an Access Token.
RefreshTokenRequest(HttpTransport, JsonFactory, GenericUrl, String) - Constructor for class com.google.api.client.auth.oauth2.RefreshTokenRequest
 

S

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
 
setAcceptableTimeSkewSeconds(long) - Method in class com.google.api.client.auth.openidconnect.IdTokenVerifier.Builder
Sets the seconds of time skew to accept when verifying time (default is IdTokenVerifier.DEFAULT_TIME_SKEW_SECONDS).
setAccessToken(String) - Method in class com.google.api.client.auth.oauth2.Credential
Sets the access token.
setAccessToken(String) - Method in class com.google.api.client.auth.oauth2.StoredCredential
Sets the access token or null for none.
setAccessToken(String) - Method in class com.google.api.client.auth.oauth2.TokenResponse
Sets the access token issued by the authorization server.
setAccessToken(String) - Method in class com.google.api.client.auth.openidconnect.IdTokenResponse
 
setAccessTokenHash(String) - Method in class com.google.api.client.auth.openidconnect.IdToken.Payload
Sets the access token hash value or null for none.
setAudience(Object) - Method in class com.google.api.client.auth.openidconnect.IdToken.Payload
 
setAudience(Collection<String>) - Method in class com.google.api.client.auth.openidconnect.IdTokenVerifier.Builder
Sets the list of trusted audience client IDs or null to suppress the audience check.
setAuthorizationServerEncodedUrl(String) - Method in class com.google.api.client.auth.oauth2.AuthorizationCodeFlow.Builder
Sets the authorization server encoded URL.
setAuthorizationTimeSeconds(Long) - Method in class com.google.api.client.auth.openidconnect.IdToken.Payload
Sets the time (in seconds) of end-user authorization or null for none.
setAuthorizedParty(String) - Method in class com.google.api.client.auth.openidconnect.IdToken.Payload
Sets the authorized party or null for none.
setClassReference(String) - Method in class com.google.api.client.auth.openidconnect.IdToken.Payload
Sets the authentication context class reference or null for none.
setClientAuthentication(HttpExecuteInterceptor) - Method in class com.google.api.client.auth.oauth2.AuthorizationCodeFlow.Builder
Sets the client authentication or null for none (see TokenRequest.setClientAuthentication(HttpExecuteInterceptor)).
setClientAuthentication(HttpExecuteInterceptor) - Method in class com.google.api.client.auth.oauth2.AuthorizationCodeTokenRequest
 
setClientAuthentication(HttpExecuteInterceptor) - Method in class com.google.api.client.auth.oauth2.ClientCredentialsTokenRequest
 
setClientAuthentication(HttpExecuteInterceptor) - Method in class com.google.api.client.auth.oauth2.Credential.Builder
Sets the client authentication or null for none (see TokenRequest.setClientAuthentication(HttpExecuteInterceptor)).
setClientAuthentication(HttpExecuteInterceptor) - Method in class com.google.api.client.auth.oauth2.PasswordTokenRequest
 
setClientAuthentication(HttpExecuteInterceptor) - Method in class com.google.api.client.auth.oauth2.RefreshTokenRequest
 
setClientAuthentication(HttpExecuteInterceptor) - Method in class com.google.api.client.auth.oauth2.TokenRequest
Sets the client authentication or null for none.
setClientId(String) - Method in class com.google.api.client.auth.oauth2.AuthorizationCodeFlow.Builder
Sets the client identifier.
setClientId(String) - Method in class com.google.api.client.auth.oauth2.AuthorizationCodeRequestUrl
 
setClientId(String) - Method in class com.google.api.client.auth.oauth2.AuthorizationRequestUrl
Sets the client identifier.
setClientId(String) - Method in class com.google.api.client.auth.oauth2.BrowserClientRequestUrl
 
setClock(Clock) - Method in class com.google.api.client.auth.oauth2.AuthorizationCodeFlow.Builder
Sets the clock to pass to the Credential.
setClock(Clock) - Method in class com.google.api.client.auth.oauth2.Credential.Builder
Sets the clock to use for expiration checks.
setClock(Clock) - Method in class com.google.api.client.auth.openidconnect.IdTokenVerifier.Builder
Sets the clock.
setCode(String) - Method in class com.google.api.client.auth.oauth2.AuthorizationCodeResponseUrl
Sets the authorization code generated by the authorization server or null for none.
setCode(String) - Method in class com.google.api.client.auth.oauth2.AuthorizationCodeTokenRequest
Sets the authorization code generated by the authorization server.
setCredentialCreatedListener(AuthorizationCodeFlow.CredentialCreatedListener) - Method in class com.google.api.client.auth.oauth2.AuthorizationCodeFlow.Builder
Sets the credential created listener or null for none.
setCredentialDataStore(DataStore<StoredCredential>) - Method in class com.google.api.client.auth.oauth2.AuthorizationCodeFlow.Builder
Beta
Sets the stored credential data store or null for none.
setCredentialStore(CredentialStore) - Method in class com.google.api.client.auth.oauth2.AuthorizationCodeFlow.Builder
setDataStoreFactory(DataStoreFactory) - Method in class com.google.api.client.auth.oauth2.AuthorizationCodeFlow.Builder
Beta
Sets the data store factory or null for none.
setError(String) - Method in class com.google.api.client.auth.oauth2.AuthorizationCodeResponseUrl
Sets the error code ("invalid_request", "unauthorized_client", "access_denied", "unsupported_response_type", "invalid_scope", "server_error", "temporarily_unavailable", or an extension error code as specified in Defining Additional Error Codes) or null for none.
setError(String) - Method in class com.google.api.client.auth.oauth2.TokenErrorResponse
Sets the error code ("invalid_request", "invalid_client", "invalid_grant", "unauthorized_client", "unsupported_grant_type", "invalid_scope", or an extension error code as specified in Defining Additional Error Codes).
setErrorDescription(String) - Method in class com.google.api.client.auth.oauth2.AuthorizationCodeResponseUrl
Sets the human-readable text providing additional information used to assist the client developer in understanding the error that occurred or null for none.
setErrorDescription(String) - Method in class com.google.api.client.auth.oauth2.TokenErrorResponse
Sets the human-readable text providing additional information, used to assist the client developer in understanding the error that occurred or null for none.
setErrorUri(String) - Method in class com.google.api.client.auth.oauth2.AuthorizationCodeResponseUrl
Sets the URI identifying a human-readable web page with information about the error used to provide the client developer with additional information about the error or null for none.
setErrorUri(String) - Method in class com.google.api.client.auth.oauth2.TokenErrorResponse
Sets the URI identifying a human-readable web page with information about the error, used to provide the client developer with additional information about the error or null for none.
setExpirationTimeMilliseconds(Long) - Method in class com.google.api.client.auth.oauth2.Credential
Sets the expected expiration time in milliseconds or null for none.
setExpirationTimeMilliseconds(Long) - Method in class com.google.api.client.auth.oauth2.StoredCredential
Sets the expected expiration time in milliseconds or null for none.
setExpirationTimeSeconds(Long) - Method in class com.google.api.client.auth.openidconnect.IdToken.Payload
 
setExpiresInSeconds(Long) - Method in class com.google.api.client.auth.oauth2.Credential
Sets the lifetime in seconds of the access token (for example 3600 for an hour) or null for none.
setExpiresInSeconds(Long) - Method in class com.google.api.client.auth.oauth2.TokenResponse
Sets the lifetime in seconds of the access token (for example 3600 for an hour) or null for none.
setExpiresInSeconds(Long) - Method in class com.google.api.client.auth.openidconnect.IdTokenResponse
 
setFromTokenResponse(TokenResponse) - Method in class com.google.api.client.auth.oauth2.Credential
Sets the access token, refresh token (if available), and expires-in time based on the values from the token response.
setGrantType(String) - Method in class com.google.api.client.auth.oauth2.AuthorizationCodeTokenRequest
 
setGrantType(String) - Method in class com.google.api.client.auth.oauth2.ClientCredentialsTokenRequest
 
setGrantType(String) - Method in class com.google.api.client.auth.oauth2.PasswordTokenRequest
 
setGrantType(String) - Method in class com.google.api.client.auth.oauth2.RefreshTokenRequest
 
setGrantType(String) - Method in class com.google.api.client.auth.oauth2.TokenRequest
Sets the grant type ("authorization_code", "password", "client_credentials", "refresh_token" or absolute URI of the extension grant type).
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.
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.
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.
store(String, Credential) - Method in interface com.google.api.client.auth.oauth2.CredentialStore
Deprecated.
Stores the credential of the given user ID.
StoredCredential - Class in com.google.api.client.auth.oauth2
Beta
Credential information to be stored in a DataStoreFactory.
StoredCredential() - Constructor for class com.google.api.client.auth.oauth2.StoredCredential
 
StoredCredential(Credential) - Constructor for class com.google.api.client.auth.oauth2.StoredCredential
 

T

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

U

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

V

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.
verifyTime(long, long) - Method in class com.google.api.client.auth.openidconnect.IdToken
Returns whether the JsonWebToken.Payload.getExpirationTimeSeconds() and JsonWebToken.Payload.getIssuedAtTimeSeconds() are valid relative to the current time, allowing for a clock skew as specified in steps 5 and 6 of ID Token Validation.
version - Variable in class com.google.api.client.auth.oauth.OAuthParameters
Must either be "1.0" or null to skip.
A B C D E F G H I L M N O P Q R S T U V 

Copyright © 2011-2017 Google. All Rights Reserved.