- 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
-
- 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
-
Deprecated.
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.
- getCallbackPath() - Method in class com.google.api.client.extensions.jetty.auth.oauth2.LocalServerReceiver.Builder
-
Returns the callback path of redirect_uri
- getCallbackPath() - Method in class com.google.api.client.extensions.jetty.auth.oauth2.LocalServerReceiver
-
Returns callback path used in redirect_uri.
- 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
-
- getClientAuthentication() - Method in class com.google.api.client.auth.oauth2.AuthorizationCodeFlow
-
- getClientAuthentication() - Method in class com.google.api.client.auth.oauth2.Credential.Builder
-
- 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
-
Deprecated.
- getConcreteFlowType() - Method in class com.google.api.client.extensions.servlet.auth.AbstractCallbackServlet
-
Deprecated.
- getCredential(HttpServletRequest) - Method in class com.google.api.client.extensions.servlet.auth.AbstractFlowUserServlet
-
Deprecated.
Fetch a credential associated with this request.
- getCredential() - Method in class com.google.api.client.extensions.servlet.auth.oauth2.AbstractAuthorizationCodeServlet
-
Return the persisted credential associated with the current request or null
for none.
- getCredentialCreatedListener() - Method in class com.google.api.client.auth.oauth2.AuthorizationCodeFlow.Builder
-
Returns the credential created listener or null
for none.
- getCredentialDataStore() - Method in class com.google.api.client.auth.oauth2.AuthorizationCodeFlow.Builder
-
Beta
Returns the stored credential data store or
null
for none.
- getCredentialDataStore() - Method in class com.google.api.client.auth.oauth2.AuthorizationCodeFlow
-
Beta
Returns the stored credential data store or
null
for none.
- getCredentialDataStore() - Method in class com.google.api.client.auth.oauth2.DataStoreCredentialRefreshListener
-
Returns the stored credential data store.
- getCredentialStore() - Method in class com.google.api.client.auth.oauth2.AuthorizationCodeFlow.Builder
-
- getCredentialStore() - Method in class com.google.api.client.auth.oauth2.AuthorizationCodeFlow
-
- 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
-
- getDeniedRedirectUrl() - Method in class com.google.api.client.extensions.servlet.auth.AbstractCallbackServlet
-
Deprecated.
- 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 relative to the
Java epoch
, 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
from now, 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.
- getFields() - Method in class com.google.api.services.samples.dailymotion.cmdline.DailyMotionUrl
-
- getFlow() - Method in class com.google.api.client.extensions.java6.auth.oauth2.AuthorizationCodeInstalledApp
-
Returns the authorization code flow.
- getGrantType() - Method in class com.google.api.client.auth.oauth2.TokenRequest
-
Returns the grant type ("authorization_code"
, "password"
,
"client_credentials"
, "refresh_token"
or absolute URI of the extension grant
type).
- getHost() - Method in class com.google.api.client.extensions.jetty.auth.oauth2.LocalServerReceiver.Builder
-
Returns the host name to use.
- getHost() - Method in class com.google.api.client.extensions.jetty.auth.oauth2.LocalServerReceiver
-
Returns the host name to use.
- getHttpTransport() - Method in class com.google.api.client.extensions.servlet.auth.AbstractCallbackServlet
-
Deprecated.
- getHttpTransport() - Method in class com.google.api.client.extensions.servlet.auth.AbstractFlowUserServlet
-
Deprecated.
- 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
-
Deprecated.
- getJsonFactory() - Method in class com.google.api.client.extensions.servlet.auth.AbstractFlowUserServlet
-
Deprecated.
- getMethod() - Method in class com.google.api.client.auth.oauth2.AuthorizationCodeFlow.Builder
-
- getMethod() - Method in class com.google.api.client.auth.oauth2.AuthorizationCodeFlow
-
- 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
-
Deprecated.
Override with your chosen method to get a PersistenceManagerFactory.
- getPersistenceManagerFactory() - Method in class com.google.api.client.extensions.servlet.auth.AbstractFlowUserServlet
-
Deprecated.
Obtain a PersistenceManagerFactory for working with the datastore.
- getPort() - Method in class com.google.api.client.extensions.jetty.auth.oauth2.LocalServerReceiver.Builder
-
Returns the port to use or -1
to select an unused port.
- getPort() - Method in class com.google.api.client.extensions.jetty.auth.oauth2.LocalServerReceiver
-
- getReceiver() - Method in class com.google.api.client.extensions.java6.auth.oauth2.AuthorizationCodeInstalledApp
-
Returns the verification code receiver.
- getRedirectUri() - Method in class com.google.api.client.auth.oauth2.AuthorizationCodeTokenRequest
-
Returns the redirect URI parameter matching the redirect URI parameter in the authorization
request or null
for none.
- getRedirectUri() - Method in class com.google.api.client.auth.oauth2.AuthorizationRequestUrl
-
Returns the URI that the authorization server directs the resource owner's user-agent back to
the client after a successful authorization grant (as specified in
Redirection Endpoint) or
null
for none.
- getRedirectUri() - Method in interface com.google.api.client.extensions.java6.auth.oauth2.VerificationCodeReceiver
-
Returns the redirect URI.
- getRedirectUri() - Method in class com.google.api.client.extensions.jetty.auth.oauth2.LocalServerReceiver
-
- getRedirectUri(HttpServletRequest) - Method in class com.google.api.client.extensions.servlet.auth.oauth2.AbstractAuthorizationCodeCallbackServlet
-
Returns the redirect URI for the given HTTP servlet request.
- getRedirectUri(HttpServletRequest) - Method in class com.google.api.client.extensions.servlet.auth.oauth2.AbstractAuthorizationCodeServlet
-
Returns the redirect URI for the given HTTP servlet request.
- getRefreshListeners() - Method in class com.google.api.client.auth.oauth2.AuthorizationCodeFlow.Builder
-
Returns the listeners for refresh token results.
- getRefreshListeners() - Method in class com.google.api.client.auth.oauth2.AuthorizationCodeFlow
-
Returns the unmodifiable list of listeners for refresh token results.
- getRefreshListeners() - Method in class com.google.api.client.auth.oauth2.Credential.Builder
-
Returns the listeners for refresh token results.
- getRefreshListeners() - Method in class com.google.api.client.auth.oauth2.Credential
-
Returns the unmodifiable collection of listeners for refresh token results.
- getRefreshToken() - Method in class com.google.api.client.auth.oauth2.Credential
-
Returns the refresh token associated with the access token to be refreshed or null
for
none.
- getRefreshToken() - Method in class com.google.api.client.auth.oauth2.RefreshTokenRequest
-
Returns the refresh token issued to the client.
- getRefreshToken() - Method in class com.google.api.client.auth.oauth2.StoredCredential
-
Returns the refresh token or null
for none.
- getRefreshToken() - Method in class com.google.api.client.auth.oauth2.TokenResponse
-
Returns the refresh token which can be used to obtain new access tokens using the same
authorization grant or null
for none.
- getRequestInitializer() - Method in class com.google.api.client.auth.oauth2.AuthorizationCodeFlow.Builder
-
Returns the HTTP request initializer or null
for none.
- getRequestInitializer() - Method in class com.google.api.client.auth.oauth2.AuthorizationCodeFlow
-
Returns the HTTP request initializer or null
for none.
- getRequestInitializer() - Method in class com.google.api.client.auth.oauth2.Credential.Builder
-
Returns the HTTP request initializer for refresh token requests to the token server or
null
for none.
- getRequestInitializer() - Method in class com.google.api.client.auth.oauth2.Credential
-
Returns the HTTP request initializer for refresh token requests to the token server or
null
for none.
- getRequestInitializer() - Method in class com.google.api.client.auth.oauth2.TokenRequest
-
Returns the HTTP request initializer or null
for none.
- getResponseClass() - Method in class com.google.api.client.auth.oauth2.TokenRequest
-
Returns the response class.
- 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
-
Deprecated.
- 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
-
- getTransport() - Method in class com.google.api.client.auth.oauth2.AuthorizationCodeFlow.Builder
-
Returns the HTTP transport.
- getTransport() - Method in class com.google.api.client.auth.oauth2.AuthorizationCodeFlow
-
Returns the HTTP transport.
- getTransport() - Method in class com.google.api.client.auth.oauth2.Credential.Builder
-
Returns the HTTP transport for executing refresh token request or null
if not
refreshing tokens.
- getTransport() - Method in class com.google.api.client.auth.oauth2.Credential
-
Return the HTTP transport for executing refresh token request or null
for none.
- getTransport() - Method in class com.google.api.client.auth.oauth2.TokenRequest
-
Returns the HTTP transport.
- getUserId() - Method in class com.google.api.client.extensions.appengine.auth.AbstractAppEngineCallbackServlet
-
Return the user ID of the user that is logged in.
- getUserId() - Method in class com.google.api.client.extensions.appengine.auth.AbstractAppEngineFlowServlet
-
Return the user ID of the user that is logged in.
- getUserId(HttpServletRequest) - Method in class com.google.api.client.extensions.appengine.auth.oauth2.AbstractAppEngineAuthorizationCodeCallbackServlet
-
- getUserId(HttpServletRequest) - Method in class com.google.api.client.extensions.appengine.auth.oauth2.AbstractAppEngineAuthorizationCodeServlet
-
- getUserId() - Method in class com.google.api.client.extensions.servlet.auth.AbstractCallbackServlet
-
Deprecated.
- getUserId() - Method in class com.google.api.client.extensions.servlet.auth.AbstractFlowUserServlet
-
Deprecated.
- 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.
- service(HttpServletRequest, HttpServletResponse) - Method in class com.google.api.client.extensions.servlet.auth.AbstractFlowUserServlet
-
Deprecated.
- 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
-
- 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.
- setCallbackPath(String) - Method in class com.google.api.client.extensions.jetty.auth.oauth2.LocalServerReceiver.Builder
-
Set the callback path of redirect_uri
- 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
-
- 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
-
- 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 relative to the
Java epoch
, 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 from now)
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
-
- setFields(String) - Method in class com.google.api.services.samples.dailymotion.cmdline.DailyMotionUrl
-
- setFromTokenResponse(TokenResponse) - Method in class com.google.api.client.auth.oauth2.Credential
-
- setGrantType(String) - Method in class com.google.api.client.auth.oauth2.AuthorizationCodeTokenRequest
-
- setGrantType(String) - Method in class com.google.api.client.auth.oauth2.ClientCredentialsTokenRequest
-
- setGrantType(String) - Method in class com.google.api.client.auth.oauth2.PasswordTokenRequest
-
- setGrantType(String) - Method in class com.google.api.client.auth.oauth2.RefreshTokenRequest
-
- setGrantType(String) - Method in class com.google.api.client.auth.oauth2.TokenRequest
-
Sets the grant type ("authorization_code"
, "password"
,
"client_credentials"
, "refresh_token"
or absolute URI of the extension grant
type).
- setHost(String) - Method in class com.google.api.client.extensions.jetty.auth.oauth2.LocalServerReceiver.Builder
-
Sets the host name to use.
- setHttpTransport(HttpTransport) - Method in class com.google.api.client.extensions.auth.helpers.oauth.OAuthHmacThreeLeggedFlow
-
- setHttpTransport(HttpTransport) - Method in interface com.google.api.client.extensions.auth.helpers.ThreeLeggedFlow
-
Deprecated.
- 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
-
Deprecated.
- setJwtId(String) - Method in class com.google.api.client.auth.openidconnect.IdToken.Payload
-
- setLandingPages(String, String) - Method in class com.google.api.client.extensions.jetty.auth.oauth2.LocalServerReceiver.Builder
-
- setMethod(Credential.AccessMethod) - Method in class com.google.api.client.auth.oauth2.AuthorizationCodeFlow.Builder
-
- setMethodsReferences(List<String>) - Method in class com.google.api.client.auth.openidconnect.IdToken.Payload
-
Sets the authentication methods references or null
for none.
- setNonce(String) - Method in class com.google.api.client.auth.openidconnect.IdToken.Payload
-
Sets the value used to associate a client session with an ID token or null
for none.
- setNotBeforeTimeSeconds(Long) - Method in class com.google.api.client.auth.openidconnect.IdToken.Payload
-
- setPassword(String) - Method in class com.google.api.client.auth.oauth2.PasswordTokenRequest
-
Sets the resource owner password.
- setPort(int) - Method in class com.google.api.client.extensions.jetty.auth.oauth2.LocalServerReceiver.Builder
-
Sets the port to use or -1
to select an unused port.
- setRedirectUri(String) - Method in class com.google.api.client.auth.oauth2.AuthorizationCodeRequestUrl
-
- setRedirectUri(String) - Method in class com.google.api.client.auth.oauth2.AuthorizationCodeTokenRequest
-
Sets the redirect URI parameter matching the redirect URI parameter in the authorization
request or null
for none.
- setRedirectUri(String) - Method in class com.google.api.client.auth.oauth2.AuthorizationRequestUrl
-
Sets the URI that the authorization server directs the resource owner's user-agent back to the
client after a successful authorization grant (as specified in
Redirection Endpoint) or
null
for none.
- setRedirectUri(String) - Method in class com.google.api.client.auth.oauth2.BrowserClientRequestUrl
-
- setRefreshListeners(Collection<CredentialRefreshListener>) - Method in class com.google.api.client.auth.oauth2.AuthorizationCodeFlow.Builder
-
Sets the listeners for refresh token results.
- setRefreshListeners(Collection<CredentialRefreshListener>) - Method in class com.google.api.client.auth.oauth2.Credential.Builder
-
Sets the listeners for refresh token results.
- setRefreshToken(String) - Method in class com.google.api.client.auth.oauth2.Credential
-
Sets the refresh token.
- setRefreshToken(String) - Method in class com.google.api.client.auth.oauth2.RefreshTokenRequest
-
Sets the refresh token issued to the client.
- setRefreshToken(String) - Method in class com.google.api.client.auth.oauth2.StoredCredential
-
Sets the refresh token or null
for none.
- setRefreshToken(String) - Method in class com.google.api.client.auth.oauth2.TokenResponse
-
Sets the refresh token which can be used to obtain new access tokens using the same
authorization grant or null
for none.
- setRefreshToken(String) - Method in class com.google.api.client.auth.openidconnect.IdTokenResponse
-
- setRequestInitializer(HttpRequestInitializer) - Method in class com.google.api.client.auth.oauth2.AuthorizationCodeFlow.Builder
-
Sets the HTTP request initializer or null
for none.
- setRequestInitializer(HttpRequestInitializer) - Method in class com.google.api.client.auth.oauth2.AuthorizationCodeTokenRequest
-
- setRequestInitializer(HttpRequestInitializer) - Method in class com.google.api.client.auth.oauth2.ClientCredentialsTokenRequest
-
- setRequestInitializer(HttpRequestInitializer) - Method in class com.google.api.client.auth.oauth2.Credential.Builder
-
Sets the HTTP request initializer for refresh token requests to the token server or
null
for none.
- setRequestInitializer(HttpRequestInitializer) - Method in class com.google.api.client.auth.oauth2.PasswordTokenRequest
-
- setRequestInitializer(HttpRequestInitializer) - Method in class com.google.api.client.auth.oauth2.RefreshTokenRequest
-
- setRequestInitializer(HttpRequestInitializer) - Method in class com.google.api.client.auth.oauth2.TokenRequest
-
Sets the HTTP request initializer or null
for none.
- setResponseClass(Class<? extends TokenResponse>) - Method in class com.google.api.client.auth.oauth2.AuthorizationCodeTokenRequest
-
- setResponseClass(Class<? extends TokenResponse>) - Method in class com.google.api.client.auth.oauth2.ClientCredentialsTokenRequest
-
- setResponseClass(Class<? extends TokenResponse>) - Method in class com.google.api.client.auth.oauth2.PasswordTokenRequest
-
- setResponseClass(Class<? extends TokenResponse>) - Method in class com.google.api.client.auth.oauth2.RefreshTokenRequest
-
- setResponseClass(Class<? extends TokenResponse>) - Method in class com.google.api.client.auth.oauth2.TokenRequest
-
Sets the TokenResponse class to allow specifying object parsing.
- 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
-
- 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
-
- 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
-
- setTokenType(String) - Method in class com.google.api.client.auth.openidconnect.IdTokenResponse
-
- setTransport(HttpTransport) - Method in class com.google.api.client.auth.oauth2.AuthorizationCodeFlow.Builder
-
Sets the HTTP transport.
- setTransport(HttpTransport) - Method in class com.google.api.client.auth.oauth2.Credential.Builder
-
Sets the HTTP transport for executing refresh token request or null
if not refreshing
tokens.
- setType(String) - Method in class com.google.api.client.auth.openidconnect.IdToken.Payload
-
- setUsername(String) - Method in class com.google.api.client.auth.oauth2.PasswordTokenRequest
-
Sets the resource owner username.
- signature - Variable in class com.google.api.client.auth.oauth.OAuthParameters
-
Signature.
- signatureMethod - Variable in class com.google.api.client.auth.oauth.OAuthParameters
-
Name of the signature method used by the client to sign the request.
- signer - Variable in class com.google.api.client.auth.oauth.AbstractOAuthGetToken
-
Required OAuth signature algorithm.
- signer - Variable in class com.google.api.client.auth.oauth.OAuthParameters
-
Required OAuth signature algorithm.
- stop() - Method in class com.google.api.client.extensions.java6.auth.oauth2.AbstractPromptReceiver
-
- stop() - Method in interface com.google.api.client.extensions.java6.auth.oauth2.VerificationCodeReceiver
-
Releases any resources and stops any processes started.
- stop() - Method in class com.google.api.client.extensions.jetty.auth.oauth2.LocalServerReceiver
-
- store(String, Credential) - Method in interface com.google.api.client.auth.oauth2.CredentialStore
-
Deprecated.
Stores the credential of the given user ID.
- store(String, Credential) - Method in class com.google.api.client.extensions.appengine.auth.oauth2.AppEngineCredentialStore
-
Deprecated.
- store(String, Credential) - Method in class com.google.api.client.extensions.java6.auth.oauth2.FileCredentialStore
-
Deprecated.
- StoredCredential - Class in com.google.api.client.auth.oauth2
-
- StoredCredential() - Constructor for class com.google.api.client.auth.oauth2.StoredCredential
-
- StoredCredential(Credential) - Constructor for class com.google.api.client.auth.oauth2.StoredCredential
-