|
||||||||||
| PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES | |||||||||
See:
Description
| Class Summary | |
|---|---|
| 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 (Experimental). |
| 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 (Experimental). |
| GoogleClientSecrets | OAuth 2.0 client secrets JSON model as specified in client_secrets.json file format. |
| GoogleClientSecrets.Details | Client credential details. |
| GoogleCredential | Thread-safe Google-specific implementation of the 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. |
| GoogleCredential.Builder | Google credential builder. |
| GoogleIdToken | Google ID tokens. |
| GoogleIdToken.Payload | Google ID token payload. |
| GoogleIdTokenVerifier | Thread-safe Google ID token verifier. |
| GoogleIdTokenVerifier.Builder | Builder for GoogleIdTokenVerifier. |
| GoogleOAuthConstants | Constants for Google's OAuth 2.0 implementation. |
| 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. |
Google's additions to OAuth 2.0 authorization as specified in Using OAuth 2.0 to Access Google APIs.
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.Warning: this package is experimental, and its content may be changed in incompatible ways or possibly entirely removed in a future version of the library.
|
||||||||||
| PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES | |||||||||