See: Description
Class | Description |
---|---|
CloudShellCredential | Deprecated
Please use
google-auth-library for handling authentication and authorization from Cloud Shell.
|
GoogleAuthorizationCodeFlow |
Thread-safe Google OAuth 2.0 authorization code flow that manages and persists end-user
credentials.
|
GoogleAuthorizationCodeFlow.Builder |
Google authorization code flow builder.
|
GoogleAuthorizationCodeRequestUrl |
Google-specific implementation of the 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 Using OAuth 2.0 for Web Server
Applications.
|
GoogleAuthorizationCodeTokenRequest |
Google-specific implementation of the OAuth 2.0 request for an access token based on an
authorization code (as specified in Using OAuth 2.0 for Web Server
Applications).
|
GoogleBrowserClientRequestUrl |
Google-specific implementation of the 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 Using OAuth
2.0 for Client-side Applications.
|
GoogleClientSecrets |
OAuth 2.0 client secrets JSON model as specified in client_secrets.json
file format.
|
GoogleClientSecrets.Details |
Client credential details.
|
GoogleCredential | Deprecated
Please use
google-auth-library for handling Application Default Credentials and other non-OAuth2
based authentication.
|
GoogleCredential.Builder |
Google credential builder.
|
GoogleIdToken | |
GoogleIdToken.Payload |
Beta Google ID token payload. |
GoogleIdTokenVerifier |
Beta Thread-safe Google ID token verifier. |
GoogleIdTokenVerifier.Builder | |
GoogleOAuthConstants |
Constants for Google's OAuth 2.0 implementation.
|
GooglePublicKeysManager |
Beta Thread-safe Google public keys manager. |
GooglePublicKeysManager.Builder | |
GoogleRefreshTokenRequest |
Google-specific implementation of the OAuth 2.0 request to refresh an access token using a
refresh token as specified in Refreshing
an Access Token.
|
GoogleTokenResponse |
Google OAuth 2.0 JSON model for a successful access token response as specified in Successful Response, including an ID
token as specified in OpenID
Connect Session Management 1.0.
|
OAuth2Utils |
Utilities used by the com.google.api.client.googleapis.auth.oauth2 namespace.
|
Before using this library, you must register your application at the APIs Console. The result of this registration process is a set of values that are known to both Google and your application, such as the "Client ID", "Client Secret", and "Redirect URIs".
These are the typical steps of the web server flow based on an authorization code, as specified in Using OAuth 2.0 for Web Server Applications:
GoogleAuthorizationCodeRequestUrl
to grant
your application access to the end user's protected data.
AuthorizationCodeResponseUrl
to parse the authorization
code.
GoogleAuthorizationCodeTokenRequest
.
GoogleCredential
. Expired access tokens will
automatically be refreshed using the refresh token (if applicable).
These are the typical steps of the the browser-based client flow specified in Using OAuth 2.0 for Client-side Applications:
GoogleBrowserClientRequestUrl
to grant your
browser application access to the end user's protected data.
Copyright © 2010–2022 Google. All rights reserved.