Package com.google.api.client.auth.oauth2.draft10

OAuth 2.0 (draft 10) authorization as specified in The OAuth 2.0 Protocol (draft-ietf-oauth-v2-10) (see detailed package specification).

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.
 

Package com.google.api.client.auth.oauth2.draft10 Description

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:

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

Since:
1.4
Author:
Yaniv Inbar


Copyright © 2011-2012 Google. All Rights Reserved.