- 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.TokenResponse
-
Returns the access token issued by the authorization server.
- getAccessTokenFromRequest(HttpRequest) - Method in interface com.google.api.client.auth.oauth2.Credential.AccessMethod
-
- getAlgorithm() - Method in class com.google.api.client.auth.jsontoken.JsonWebSignature.Header
-
Returns the algorithm header parameter that identifies the cryptographic algorithm used to
secure the JWS or null for none.
- getAudience() - Method in class com.google.api.client.auth.jsontoken.JsonWebToken.Payload
-
Returns the audience claim that identifies the audience that the JWT is intended for or
null for none.
- getAuthorizationHeader() - Method in class com.google.api.client.auth.oauth.OAuthParameters
-
Returns the Authorization header value to use with the OAuth parameter values found in
the fields.
- getAuthorizationServerEncodedUrl() - Method in class com.google.api.client.auth.oauth2.AuthorizationCodeFlow.Builder
-
Returns the authorization server encoded URL.
- getAuthorizationServerEncodedUrl() - Method in class com.google.api.client.auth.oauth2.AuthorizationCodeFlow
-
Returns the authorization server encoded URL.
- 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.
- 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.
- getCode() - Method in class com.google.api.client.auth.oauth2.AuthorizationCodeResponseUrl
-
Returns the authorization code generated by the authorization server or null for none.
- getCode() - Method in class com.google.api.client.auth.oauth2.AuthorizationCodeTokenRequest
-
Returns the authorization code generated by the authorization server.
- getCredentialStore() - Method in class com.google.api.client.auth.oauth2.AuthorizationCodeFlow.Builder
-
Returns the credential persistence store or null for none.
- getCredentialStore() - Method in class com.google.api.client.auth.oauth2.AuthorizationCodeFlow
-
Returns the credential persistence store or null for none.
- getCredentialStore() - Method in class com.google.api.client.auth.oauth2.CredentialStoreRefreshListener
-
Returns the credential store.
- getDetails() - Method in exception com.google.api.client.auth.oauth2.TokenResponseException
-
Returns the token error response details or null if unable to parse.
- getError() - Method in class com.google.api.client.auth.oauth2.AuthorizationCodeResponseUrl
-
Returns the error code (
"invalid_request",
"unauthorized_client",
"access_denied",
"unsupported_response_type",
"invalid_scope",
"server_error",
"temporarily_unavailable", or an extension error code as
specified in
Defining
Additional Error Codes) or
null for none.
- getError() - Method in class com.google.api.client.auth.oauth2.TokenErrorResponse
-
Returns the error code (
"invalid_request",
"invalid_client",
"invalid_grant",
"unauthorized_client",
"unsupported_grant_type",
"invalid_scope", or an extension error code as specified in
Defining Additional Error
Codes).
- getErrorDescription() - Method in class com.google.api.client.auth.oauth2.AuthorizationCodeResponseUrl
-
Returns the human-readable text providing additional information used to assist the client
developer in understanding the error that occurred or null for none.
- getErrorDescription() - Method in class com.google.api.client.auth.oauth2.TokenErrorResponse
-
Returns the human-readable text providing additional information, used to assist the client
developer in understanding the error that occurred or null for none.
- getErrorUri() - Method in class com.google.api.client.auth.oauth2.AuthorizationCodeResponseUrl
-
Returns the URI identifying a human-readable web page with information about the error used to
provide the client developer with additional information about the error or null for
none.
- getErrorUri() - Method in class com.google.api.client.auth.oauth2.TokenErrorResponse
-
Returns the URI identifying a human-readable web page with information about the error, used to
provide the client developer with additional information about the error or null for
none.
- getExpirationTimeMilliseconds() - Method in class com.google.api.client.auth.oauth2.Credential
-
Expected expiration time in milliseconds or null for none.
- getExpirationTimeSeconds() - Method in class com.google.api.client.auth.jsontoken.JsonWebToken.Payload
-
Returns the expiration time (in seconds) claim that identifies the expiration time on or
after which the token MUST NOT be accepted for processing or null for none.
- getExpiresInSeconds() - Method in class com.google.api.client.auth.oauth2.Credential
-
Returns the remaining lifetime in seconds of the access token (for example 3600 for an hour, or
-3600 if expired an hour ago) or null if unknown.
- getExpiresInSeconds() - Method in class com.google.api.client.auth.oauth2.TokenResponse
-
Returns the lifetime in seconds of the access token (for example 3600 for an hour) or
null for none.
- getGrantType() - Method in class com.google.api.client.auth.oauth2.TokenRequest
-
Returns the grant type ("authorization_code", "password",
"client_credentials", "refresh_token" or absolute URI of the extension grant
type).
- getHeader() - Method in class com.google.api.client.auth.jsontoken.JsonWebSignature
-
- getHeader() - Method in class com.google.api.client.auth.jsontoken.JsonWebToken
-
Returns the header.
- getHeaderClass() - Method in class com.google.api.client.auth.jsontoken.JsonWebSignature.Parser
-
Returns the header class to use for parsing.
- getIdToken() - Method in class com.google.api.client.auth.openidconnect.IdTokenResponse
-
Returns the ID token.
- getIssuedAtTimeSeconds() - Method in class com.google.api.client.auth.jsontoken.JsonWebToken.Payload
-
Returns the issued at claim that identifies the time (in seconds) at which the JWT was issued
or null for none.
- getIssuer() - Method in class com.google.api.client.auth.jsontoken.JsonWebToken.Payload
-
Returns the issuer claim that identifies the principal that issued the JWT or null
for none.
- getJsonFactory() - Method in class com.google.api.client.auth.jsontoken.JsonWebSignature.Parser
-
Returns the JSON factory.
- getJsonFactory() - Method in class com.google.api.client.auth.oauth2.AuthorizationCodeFlow.Builder
-
Returns the JSON factory.
- getJsonFactory() - Method in class com.google.api.client.auth.oauth2.AuthorizationCodeFlow
-
Returns the JSON factory.
- getJsonFactory() - Method in class com.google.api.client.auth.oauth2.Credential.Builder
-
Returns the JSON factory to use for parsing response for refresh token request or
null if not refreshing tokens.
- getJsonFactory() - Method in class com.google.api.client.auth.oauth2.Credential
-
Returns the JSON factory to use for parsing response for refresh token request or null
for none.
- getJsonFactory() - Method in class com.google.api.client.auth.oauth2.TokenRequest
-
Returns the JSON factory.
- getJwkUrl() - Method in class com.google.api.client.auth.jsontoken.JsonWebSignature.Header
-
Returns the JSON Web Key URL header parameter that is an absolute URL that refers to a
resource for a set of JSON-encoded public keys, one of which corresponds to the key that was
used to digitally sign the JWS or null for none.
- getJwtId() - Method in class com.google.api.client.auth.jsontoken.JsonWebToken.Payload
-
Returns the JWT ID claim that provides a unique identifier for the JWT or null for
none.
- getKeyId() - Method in class com.google.api.client.auth.jsontoken.JsonWebSignature.Header
-
Returns the key ID header parameter that is a hint indicating which specific key owned by the
signer should be used to validate the digital signature or null for none.
- getMethod() - Method in class com.google.api.client.auth.oauth2.AuthorizationCodeFlow.Builder
-
- 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).
- getNotBeforeTimeSeconds() - Method in class com.google.api.client.auth.jsontoken.JsonWebToken.Payload
-
Returns the not before claim that identifies the time (in seconds) before which the token
MUST NOT be accepted for processing or null for none.
- getPayload() - Method in class com.google.api.client.auth.jsontoken.JsonWebToken
-
Returns the payload.
- getPayloadClass() - Method in class com.google.api.client.auth.jsontoken.JsonWebSignature.Parser
-
Returns the payload class to use for parsing.
- getPrincipal() - Method in class com.google.api.client.auth.jsontoken.JsonWebToken.Payload
-
Returns the principal claim that identifies the subject of the JWT or null for none.
- getRedirectUri() - Method in class com.google.api.client.auth.oauth2.AuthorizationCodeTokenRequest
-
Returns the redirect URI parameter matching the redirect URI parameter in the authorization
request or null for none.
- getRedirectUri() - Method in class com.google.api.client.auth.oauth2.AuthorizationRequestUrl
-
Returns the URI that the authorization server directs the resource owner's user-agent back to
the client after a successful authorization grant (as specified in
Redirection
Endpoint) or
null for none.
- getRefreshListeners() - Method in class com.google.api.client.auth.oauth2.Credential.Builder
-
Returns the listeners for refresh token results or null for none.
- getRefreshListeners() - Method in class com.google.api.client.auth.oauth2.Credential
-
Returns the unmodifiable list of listeners for refresh token results.
- getRefreshToken() - Method in class com.google.api.client.auth.oauth2.Credential
-
Returns the refresh token associated with the access token to be refreshed or null for
none.
- getRefreshToken() - Method in class com.google.api.client.auth.oauth2.RefreshTokenRequest
-
Returns the refresh token issued to the client.
- getRefreshToken() - Method in class com.google.api.client.auth.oauth2.TokenResponse
-
Returns the refresh token which can be used to obtain new access tokens using the same
authorization grant or null for none.
- getRequestInitializer() - Method in class com.google.api.client.auth.oauth2.AuthorizationCodeFlow.Builder
-
Returns the HTTP request initializer or null for none.
- getRequestInitializer() - Method in class com.google.api.client.auth.oauth2.AuthorizationCodeFlow
-
Returns the HTTP request initializer or null for none.
- getRequestInitializer() - Method in class com.google.api.client.auth.oauth2.Credential.Builder
-
Returns the HTTP request initializer for refresh token requests to the token server or
null for none.
- getRequestInitializer() - Method in class com.google.api.client.auth.oauth2.Credential
-
Returns the HTTP request initializer for refresh token requests to the token server or
null for none.
- getRequestInitializer() - Method in class com.google.api.client.auth.oauth2.TokenRequest
-
Returns the HTTP request initializer or null for none.
- getResponseTypes() - Method in class com.google.api.client.auth.oauth2.AuthorizationRequestUrl
-
Returns the space-separated list of response types, each of which must be
"code",
"token", or a registered extension value (as specified in
Response Type).
- getScope() - Method in class com.google.api.client.auth.oauth2.TokenResponse
-
Returns the scope of the access token or null for none.
- getScopes() - Method in class com.google.api.client.auth.oauth2.AuthorizationCodeFlow.Builder
-
Returns the space-separated list of scopes or null for none.
- getScopes() - Method in class com.google.api.client.auth.oauth2.AuthorizationCodeFlow
-
Returns the space-separated list of scopes or null for none.
- getScopes() - Method in class com.google.api.client.auth.oauth2.AuthorizationRequestUrl
-
Returns the space-separated list of scopes (as specified in
Access Token Scope) or
null for none.
- getScopes() - Method in class com.google.api.client.auth.oauth2.TokenRequest
-
Returns the space-separated list of scopes (as specified in
Access Token Scope) or
null for none.
- getSignatureBytes() - Method in class com.google.api.client.auth.jsontoken.JsonWebSignature
-
Returns the bytes of the signature.
- getSignatureMethod() - Method in class com.google.api.client.auth.oauth.OAuthHmacSigner
-
- getSignatureMethod() - Method in class com.google.api.client.auth.oauth.OAuthRsaSigner
-
- getSignatureMethod() - Method in interface com.google.api.client.auth.oauth.OAuthSigner
-
Returns the signature method.
- getSignedContentBytes() - Method in class com.google.api.client.auth.jsontoken.JsonWebSignature
-
Returns the bytes of the signature content.
- getState() - Method in class com.google.api.client.auth.oauth2.AuthorizationCodeResponseUrl
-
Returns the state parameter matching the state parameter in the authorization request or
null for none.
- getState() - Method in class com.google.api.client.auth.oauth2.AuthorizationRequestUrl
-
Returns the state (an opaque value used by the client to maintain state between the request and
callback, as mentioned in
Registration
Requirements) or
null for none.
- getTokenServerEncodedUrl() - Method in class com.google.api.client.auth.oauth2.AuthorizationCodeFlow
-
Returns the token server encoded URL.
- getTokenServerEncodedUrl() - Method in class com.google.api.client.auth.oauth2.Credential
-
Returns the encoded authorization server URL or null for none.
- getTokenServerUrl() - Method in class com.google.api.client.auth.oauth2.AuthorizationCodeFlow.Builder
-
Returns the token server URL.
- getTokenServerUrl() - Method in class com.google.api.client.auth.oauth2.Credential.Builder
-
Returns the token server URL or null if not refreshing tokens.
- getTokenServerUrl() - Method in class com.google.api.client.auth.oauth2.TokenRequest
-
Returns the token server URL.
- getTokenType() - Method in class com.google.api.client.auth.oauth2.TokenResponse
-
- 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.
- getType() - Method in class com.google.api.client.auth.jsontoken.JsonWebToken.Header
-
Returns the type header parameter used to declare structural information about the JWT or
null for none.
- getType() - Method in class com.google.api.client.auth.jsontoken.JsonWebToken.Payload
-
Returns the type claim that is used to declare a type for the contents of this JWT Claims Set
or null for none.
- getX509Thumbprint() - Method in class com.google.api.client.auth.jsontoken.JsonWebSignature.Header
-
Returns the x.509 certificate thumbprint header parameter that provides a base64url encoded
SHA-1 thumbprint (a.k.a.
- getX509Url() - Method in class com.google.api.client.auth.jsontoken.JsonWebSignature.Header
-
Returns the X.509 URL header parameter that is an absolute URL that refers to a resource for
the X.509 public key certificate or certificate chain corresponding to the key used to
digitally sign the JWS or null for none.
- 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.TokenResponse
-
Sets the access token issued by the authorization server.
- setAccessToken(String) - Method in class com.google.api.client.auth.openidconnect.IdTokenResponse
-
- setAlgorithm(String) - Method in class com.google.api.client.auth.jsontoken.JsonWebSignature.Header
-
Sets the algorithm header parameter that identifies the cryptographic algorithm used to
secure the JWS or null for none.
- setAudience(String) - Method in class com.google.api.client.auth.jsontoken.JsonWebToken.Payload
-
Sets the audience claim that identifies the audience that the JWT is intended for or
null for none.
- setAuthorizationServerEncodedUrl(String) - Method in class com.google.api.client.auth.oauth2.AuthorizationCodeFlow.Builder
-
Sets the authorization server encoded URL.
- 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.Credential.Builder
-
- 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.
- setCode(String) - Method in class com.google.api.client.auth.oauth2.AuthorizationCodeResponseUrl
-
Sets the authorization code generated by the authorization server or null for none.
- setCode(String) - Method in class com.google.api.client.auth.oauth2.AuthorizationCodeTokenRequest
-
Sets the authorization code generated by the authorization server.
- setCredentialStore(CredentialStore) - Method in class com.google.api.client.auth.oauth2.AuthorizationCodeFlow.Builder
-
Sets the credential persistence store or null for none.
- setError(String) - Method in class com.google.api.client.auth.oauth2.AuthorizationCodeResponseUrl
-
Sets the error code (
"invalid_request",
"unauthorized_client",
"access_denied",
"unsupported_response_type",
"invalid_scope",
"server_error",
"temporarily_unavailable", or an extension error code as
specified in
Defining
Additional Error Codes) or
null for none.
- setError(String) - Method in class com.google.api.client.auth.oauth2.TokenErrorResponse
-
Sets the error code (
"invalid_request",
"invalid_client",
"invalid_grant",
"unauthorized_client",
"unsupported_grant_type",
"invalid_scope", or an extension error code as specified in
Defining Additional Error
Codes).
- setErrorDescription(String) - Method in class com.google.api.client.auth.oauth2.AuthorizationCodeResponseUrl
-
Sets the human-readable text providing additional information used to assist the client
developer in understanding the error that occurred or null for none.
- setErrorDescription(String) - Method in class com.google.api.client.auth.oauth2.TokenErrorResponse
-
Sets the human-readable text providing additional information, used to assist the client
developer in understanding the error that occurred or null for none.
- setErrorUri(String) - Method in class com.google.api.client.auth.oauth2.AuthorizationCodeResponseUrl
-
Sets the URI identifying a human-readable web page with information about the error used to
provide the client developer with additional information about the error or null for
none.
- setErrorUri(String) - Method in class com.google.api.client.auth.oauth2.TokenErrorResponse
-
Sets the URI identifying a human-readable web page with information about the error, used to
provide the client developer with additional information about the error or null for
none.
- setExpirationTimeMilliseconds(Long) - Method in class com.google.api.client.auth.oauth2.Credential
-
Sets the expected expiration time in milliseconds or null for none.
- setExpirationTimeSeconds(Long) - Method in class com.google.api.client.auth.jsontoken.JsonWebToken.Payload
-
Sets the expiration time claim that identifies the expiration time (in seconds) on or after
which the token MUST NOT be accepted for processing or null for none.
- setExpiresInSeconds(Long) - Method in class com.google.api.client.auth.oauth2.Credential
-
Sets the lifetime in seconds of the access token (for example 3600 for an hour) or null
for none.
- setExpiresInSeconds(Long) - Method in class com.google.api.client.auth.oauth2.TokenResponse
-
Sets the lifetime in seconds of the access token (for example 3600 for an hour) or null
for none.
- setExpiresInSeconds(Long) - Method in class com.google.api.client.auth.openidconnect.IdTokenResponse
-
- setFromTokenResponse(TokenResponse) - Method in class com.google.api.client.auth.oauth2.Credential
-
- setGrantType(String) - Method in class com.google.api.client.auth.oauth2.AuthorizationCodeTokenRequest
-
- setGrantType(String) - Method in class com.google.api.client.auth.oauth2.RefreshTokenRequest
-
- setGrantType(String) - Method in class com.google.api.client.auth.oauth2.TokenRequest
-
Sets the grant type ("authorization_code", "password",
"client_credentials", "refresh_token" or absolute URI of the extension grant
type).
- setHeaderClass(Class<? extends JsonWebSignature.Header>) - Method in class com.google.api.client.auth.jsontoken.JsonWebSignature.Parser
-
Sets the header class to use for parsing.
- setIdToken(String) - Method in class com.google.api.client.auth.openidconnect.IdTokenResponse
-
Sets the ID token.
- setIssuedAtTimeSeconds(Long) - Method in class com.google.api.client.auth.jsontoken.JsonWebToken.Payload
-
Sets the issued at claim that identifies the time (in seconds) at which the JWT was issued or
null for none.
- setIssuer(String) - Method in class com.google.api.client.auth.jsontoken.JsonWebToken.Payload
-
Sets the issuer claim that identifies the principal that issued the JWT or null for
none.
- setJsonFactory(JsonFactory) - Method in class com.google.api.client.auth.oauth2.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.
- setJwkUrl(String) - Method in class com.google.api.client.auth.jsontoken.JsonWebSignature.Header
-
Sets the JSON Web Key URL header parameter that is an absolute URL that refers to a resource
for a set of JSON-encoded public keys, one of which corresponds to the key that was used to
digitally sign the JWS or null for none.
- setJwtId(String) - Method in class com.google.api.client.auth.jsontoken.JsonWebToken.Payload
-
Sets the JWT ID claim that provides a unique identifier for the JWT or null for none.
- setKeyId(String) - Method in class com.google.api.client.auth.jsontoken.JsonWebSignature.Header
-
Sets the key ID header parameter that is a hint indicating which specific key owned by the
signer should be used to validate the digital signature or null for none.
- setMethod(Credential.AccessMethod) - Method in class com.google.api.client.auth.oauth2.AuthorizationCodeFlow.Builder
-
- setNotBeforeTimeSeconds(Long) - Method in class com.google.api.client.auth.jsontoken.JsonWebToken.Payload
-
Sets the not before claim that identifies the time (in seconds) before which the token MUST
NOT be accepted for processing or null for none.
- setPayloadClass(Class<? extends JsonWebToken.Payload>) - Method in class com.google.api.client.auth.jsontoken.JsonWebSignature.Parser
-
Sets the payload class to use for parsing.
- setPrincipal(String) - Method in class com.google.api.client.auth.jsontoken.JsonWebToken.Payload
-
Sets the principal claim that identifies the subject of the JWT or null for none.
- setRedirectUri(String) - Method in class com.google.api.client.auth.oauth2.AuthorizationCodeRequestUrl
-
- setRedirectUri(String) - Method in class com.google.api.client.auth.oauth2.AuthorizationCodeTokenRequest
-
Sets the redirect URI parameter matching the redirect URI parameter in the authorization
request or null for none.
- setRedirectUri(String) - Method in class com.google.api.client.auth.oauth2.AuthorizationRequestUrl
-
Sets the URI that the authorization server directs the resource owner's user-agent back to the
client after a successful authorization grant (as specified in
Redirection
Endpoint) or
null for none.
- setRedirectUri(String) - Method in class com.google.api.client.auth.oauth2.BrowserClientRequestUrl
-
- setRefreshListeners(List<CredentialRefreshListener>) - Method in class com.google.api.client.auth.oauth2.Credential.Builder
-
Sets the listeners for refresh token results or null for none.
- setRefreshToken(String) - Method in class com.google.api.client.auth.oauth2.Credential
-
Sets the refresh token.
- setRefreshToken(String) - Method in class com.google.api.client.auth.oauth2.RefreshTokenRequest
-
Sets the refresh token issued to the client.
- setRefreshToken(String) - Method in class com.google.api.client.auth.oauth2.TokenResponse
-
Sets the refresh token which can be used to obtain new access tokens using the same
authorization grant or null for none.
- setRefreshToken(String) - Method in class com.google.api.client.auth.openidconnect.IdTokenResponse
-
- setRequestInitializer(HttpRequestInitializer) - Method in class com.google.api.client.auth.oauth2.AuthorizationCodeFlow.Builder
-
Sets the HTTP request initializer or null for none.
- setRequestInitializer(HttpRequestInitializer) - Method in class com.google.api.client.auth.oauth2.AuthorizationCodeTokenRequest
-
- setRequestInitializer(HttpRequestInitializer) - Method in class com.google.api.client.auth.oauth2.Credential.Builder
-
Sets the HTTP request initializer for refresh token requests to the token server or
null for none.
- setRequestInitializer(HttpRequestInitializer) - Method in class com.google.api.client.auth.oauth2.RefreshTokenRequest
-
- setRequestInitializer(HttpRequestInitializer) - Method in class com.google.api.client.auth.oauth2.TokenRequest
-
Sets the HTTP request initializer or null for none.
- setResponseTypes(String...) - Method in class com.google.api.client.auth.oauth2.AuthorizationCodeRequestUrl
-
- setResponseTypes(Iterable<String>) - Method in class com.google.api.client.auth.oauth2.AuthorizationCodeRequestUrl
-
- setResponseTypes(String...) - Method in class com.google.api.client.auth.oauth2.AuthorizationRequestUrl
-
Sets the list of response types, each of which must be
"code",
"token", or a
registered extension value (as specified in
Response Type).
- setResponseTypes(Iterable<String>) - Method in class com.google.api.client.auth.oauth2.AuthorizationRequestUrl
-
Sets the list of response types, each of which must be
"code",
"token", or a
registered extension value (as specified in
Response Type).
- setResponseTypes(String...) - Method in class com.google.api.client.auth.oauth2.BrowserClientRequestUrl
-
- setResponseTypes(Iterable<String>) - Method in class com.google.api.client.auth.oauth2.BrowserClientRequestUrl
-
- setScope(String) - Method in class com.google.api.client.auth.oauth2.TokenResponse
-
Sets the scope of the access token or null for none.
- setScope(String) - Method in class com.google.api.client.auth.openidconnect.IdTokenResponse
-
- setScopes(Iterable<String>) - Method in class com.google.api.client.auth.oauth2.AuthorizationCodeFlow.Builder
-
Sets the list of scopes or null for none.
- setScopes(String...) - Method in class com.google.api.client.auth.oauth2.AuthorizationCodeFlow.Builder
-
Sets the list of scopes or null for none.
- setScopes(String...) - Method in class com.google.api.client.auth.oauth2.AuthorizationCodeRequestUrl
-
- setScopes(Iterable<String>) - Method in class com.google.api.client.auth.oauth2.AuthorizationCodeRequestUrl
-
- setScopes(String...) - Method in class com.google.api.client.auth.oauth2.AuthorizationCodeTokenRequest
-
- setScopes(Iterable<String>) - Method in class com.google.api.client.auth.oauth2.AuthorizationCodeTokenRequest
-
- setScopes(String...) - Method in class com.google.api.client.auth.oauth2.AuthorizationRequestUrl
-
- setScopes(Iterable<String>) - Method in class com.google.api.client.auth.oauth2.AuthorizationRequestUrl
-
- setScopes(String...) - Method in class com.google.api.client.auth.oauth2.BrowserClientRequestUrl
-
- setScopes(Iterable<String>) - Method in class com.google.api.client.auth.oauth2.BrowserClientRequestUrl
-
- setScopes(String...) - Method in class com.google.api.client.auth.oauth2.RefreshTokenRequest
-
- setScopes(Iterable<String>) - Method in class com.google.api.client.auth.oauth2.RefreshTokenRequest
-
- setScopes(String...) - Method in class com.google.api.client.auth.oauth2.TokenRequest
-
- setScopes(Iterable<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
-
- 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.Credential.Builder
-
Sets the token server URL or null if not refreshing tokens.
- setTokenServerUrl(GenericUrl) - Method in class com.google.api.client.auth.oauth2.RefreshTokenRequest
-
- setTokenServerUrl(GenericUrl) - Method in class com.google.api.client.auth.oauth2.TokenRequest
-
Sets the token server URL.
- setTokenType(String) - Method in class com.google.api.client.auth.oauth2.TokenResponse
-
- 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.jsontoken.JsonWebSignature.Header
-
- setType(String) - Method in class com.google.api.client.auth.jsontoken.JsonWebToken.Header
-
Sets the type header parameter used to declare structural information about the JWT or
null for none.
- setType(String) - Method in class com.google.api.client.auth.jsontoken.JsonWebToken.Payload
-
Sets the type claim that is used to declare a type for the contents of this JWT Claims Set or
null for none.
- setX509Thumbprint(String) - Method in class com.google.api.client.auth.jsontoken.JsonWebSignature.Header
-
Sets the x.509 certificate thumbprint header parameter that provides a base64url encoded
SHA-1 thumbprint (a.k.a.
- setX509Url(String) - Method in class com.google.api.client.auth.jsontoken.JsonWebSignature.Header
-
Sets the X.509 URL header parameter that is an absolute URL that refers to a resource for the
X.509 public key certificate or certificate chain corresponding to the key used to digitally
sign the JWS or null for none.
- sign(PrivateKey, JsonFactory, JsonWebSignature.Header, JsonWebToken.Payload) - Static method in class com.google.api.client.auth.jsontoken.RsaSHA256Signer
-
Signs a given JWS header and payload based on the given private key.
- signature - Variable in class com.google.api.client.auth.oauth.OAuthParameters
-
Signature.
- signatureMethod - Variable in class com.google.api.client.auth.oauth.OAuthParameters
-
Name of the signature method used by the client to sign the request.
- signer - Variable in class com.google.api.client.auth.oauth.AbstractOAuthGetToken
-
Required OAuth signature algorithm.
- signer - Variable in class com.google.api.client.auth.oauth.OAuthParameters
-
Required OAuth signature algorithm.
- store(String, Credential) - Method in interface com.google.api.client.auth.oauth2.CredentialStore
-
Stores the credential of the given user ID.
- store(String, Credential) - Method in class com.google.api.client.auth.oauth2.MemoryCredentialStore
-