com.google.api.client.auth.oauth

Home
Java Source Code / Java Documentation 2
1.2D
2.3D
3.Ajax
4.Algebra
5.App Engine
6.Aspect
7.Assemble
8.Cache
9.Cassandra
10.Chat
11.Cloud
12.CMS
13.CouchDB
14.Crypt
15.Database
16.Distributed
17.Eclipse
18.Facebook
19.File
20.Forum
21.GAE
22.Game
23.Google tech
24.Graph
25.Graphic
26.GWT
27.Hibernate
28.HTML
29.HTTP
30.Image
31.IntelliJ
32.IRC
33.J2EE
34.J2ME
35.JDBC
36.JPA
37.JSON
38.JSR
39.JUnit
40.JVM
41.Language
42.Linux
43.Math
44.Maven
45.Media
46.Messenger
47.MiddleWare
48.Mobile
49.Mock
50.MongoDB
51.Mp3
52.Music
53.MVC
54.Network
55.OpenID
56.OSGi
57.Parse
58.Persist
59.Petri
60.Phone
61.Physics
62.REST
63.Robot
64.RPC
65.RSS
66.Ruby
67.Script
68.Search
69.Spring
70.SQL
71.SSH
72.Sudoku
73.Swing
74.Tapestry
75.Test
76.Text
77.Torrent
78.Twitter
79.UML
80.UnTagged
81.Utilities
82.Web
83.Wiki
84.XML
Java Source Code / Java Documentation 2 » Google tech » google api java client » com.google.api.client.auth.oauth 
com.google.api.client.auth.oauth
OAuth 1.0 authorization as specified in RFC 5849: The OAuth 1.0 Protocol (see detailed package specification).

There are a few features not supported by this implementation:

  • PLAINTEXT signature algorithm
  • "application/x-www-form-urlencoded" HTTP request body
  • "oauth_*" parameters specified in the HTTP request URL (instead assumes they are specified in the Authorization header)

Before using this library, you may need to set up your application as follows:

  1. For web applications, you may need to first register your application with the authorization server.
Java Source File NameTypeComment
AbstractOAuthGetToken.javaClass Generic OAuth 1.0a URL to request a temporary or long-lived token from an authorization server.
AllTests.javaClass All tests for com.google.api.client.util .
OAuthAuthorizationHeaderIntercepter.javaClass
OAuthAuthorizeTemporaryTokenUrl.javaClass OAuth 1.0a URL builder for an authorization web page to allow the end user to authorize the temporary token.

The OAuthAuthorizeTemporaryTokenUrl.temporaryToken should be set from the OAuthCredentialsResponse.token returned by OAuthGetTemporaryToken.execute .

OAuthCallbackUrl.javaClass Generic URL that parses the callback URL after a temporary token has been authorized by the end user.
OAuthCredentialsResponse.javaClass Data to parse a success response to a request for temporary or token credentials.
OAuthGetAccessToken.javaClass Generic OAuth 1.0a URL to request to exchange the temporary credentials token (or "request token") for a long-lived credentials token (or "access token") from an authorization server.

Use OAuthGetAccessToken.execute() to execute the request.

OAuthGetTemporaryToken.javaClass Generic OAuth 1.0a URL to request a temporary credentials token (or "request token") from an authorization server.

Use OAuthGetTemporaryToken.execute() to execute the request.

OAuthHmacSigner.javaClass OAuth "HMAC-SHA1" signature method.
OAuthParameters.javaClass OAuth 1.0a parameter manager.

The only required non-computed fields are OAuthParameters.signer and OAuthParameters.consumerKey .

OAuthParametersTest.javaClass Tests OAuthParameters .
OAuthRsaSigner.javaClass OAuth "RSA-SHA1" signature method.
OAuthSigner.javaInterface OAuth signature method.
package-info.java
w_w___w._j__a__v_a__2s_.___co_m__ | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.