|
||||||||||
| PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES | |||||||||
See:
Description
| Class Summary | |
|---|---|
| AccessProtectedResource | Deprecated. (scheduled to be removed in 1.9) Use
Credential |
| AccessTokenErrorResponse | Deprecated. (scheduled to be removed in 1.9) Use
TokenErrorResponse |
| AccessTokenRequest | Deprecated. (scheduled to be removed in 1.9) Use
TokenRequest |
| AccessTokenRequest.AssertionGrant | Deprecated. (scheduled to be removed in 1.9) Use
TokenRequest |
| AccessTokenRequest.AuthorizationCodeGrant | Deprecated. (scheduled to be removed in 1.9) Use
AuthorizationCodeTokenRequest |
| AccessTokenRequest.RefreshTokenGrant | Deprecated. (scheduled to be removed in 1.9) Use
RefreshTokenRequest |
| AccessTokenRequest.ResourceOwnerPasswordCredentialsGrant | Deprecated. (scheduled to be removed in 1.9) Use
TokenRequest |
| AccessTokenResponse | Deprecated. (scheduled to be removed in 1.9) Use
TokenResponse |
| AuthorizationRequestUrl | Deprecated. (scheduled to be removed in 1.9) Use
AuthorizationCodeRequestUrl or
BrowserClientRequestUrl or
AuthorizationRequestUrl |
| AuthorizationResponse | Deprecated. (scheduled to be removed in 1.9) Use
AuthorizationCodeResponseUrl |
| InstalledApp | Deprecated. (scheduled to be removed in 1.9) Use
com.google.api.client.googleapis.auth.oauth2.GoogleOAuthConstants from google-api-java-client |
| Enum Summary | |
|---|---|
| AccessProtectedResource.Method | Method of accessing protected resources. |
| AccessTokenErrorResponse.KnownError | Error codes listed in Error Codes. |
| AccessTokenRequest.GrantType | Access grant type. |
| AuthorizationRequestUrl.ResponseType | Response type enumeration that may be used for setting the
AuthorizationRequestUrl.responseType. |
| AuthorizationResponse.KnownError | Error codes listed in Error Codes. |
OAuth 2.0 (draft 10) authorization as specified in The OAuth 2.0 Protocol (draft-ietf-oauth-v2-10) (see detailed package specification).
Before using this library, you may need to register your application with the authorization server to receive a client ID and client secret.
Typical steps for the OAuth 2 authorization flow:
AuthorizationRequestUrl to grant your
application access to their protected data.AuthorizationResponse to parse the
authorization code and/or access token.AccessTokenRequest.AuthorizationCodeGrantAccessTokenRequest.ResourceOwnerPasswordCredentialsGrant
AccessTokenRequest.AssertionGrantAccessTokenRequest.RefreshTokenGrantAccessTokenRequestWarning: 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 | |||||||||