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 Thread-safe OAuth 2.0 (draft 10) method for specifying and refreshing the access token parameter as a request parameter as specified in Accessing a Protected Resource.
AccessTokenErrorResponse OAuth 2.0 (draft 10) access token error response as specified in Error Response.
AccessTokenRequest OAuth 2.0 (draft 10) request for an access token as specified in Obtaining an Access Token.
AccessTokenRequest.AssertionGrant OAuth 2.0 Assertion Flow: request an access token based on as assertion as specified in Assertion.
AccessTokenRequest.AuthorizationCodeGrant OAuth 2.0 Web Server Flow: request an access token based on a verification code as specified in Authorization Code.
AccessTokenRequest.RefreshTokenGrant OAuth 2.0 request to refresh an access token as specified in Refresh Token.
AccessTokenRequest.ResourceOwnerPasswordCredentialsGrant OAuth 2.0 Username and Password Flow: request an access token based on resource owner credentials used in the as specified in Resource Owner Password Credentials.
AccessTokenResponse OAuth 2.0 (draft 10) access token success response content as specified in Access Token Response.
AuthorizationRequestUrl OAuth 2.0 (draft 10) URL builder for an authorization web page to allow the end user to authorize the application to access their protected resources as specified in Obtaining End-User Authorization.
AuthorizationResponse OAuth 2.0 (draft 10) parser for the redirect URL after end user grants or denies authorization as specified in Authorization Response.
InstalledApp Constants for installed (or "native") applications.
 

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 © 2010-2011 Google. All Rights Reserved.