com.google.api.client.auth.oauth
Class OAuthCallbackUrl
java.lang.Object
java.util.AbstractMap<String,Object>
com.google.api.client.util.GenericData
com.google.api.client.http.GenericUrl
com.google.api.client.auth.oauth.OAuthCallbackUrl
- All Implemented Interfaces:
- Cloneable, Map<String,Object>
public class OAuthCallbackUrl
- extends GenericUrl
Generic URL that parses the callback URL after a temporary token has been authorized by the end
user.
The verifier is required in order to exchange the authorized temporary token for a
long-lived access token in OAuthGetAccessToken.verifier.
- Since:
- 1.0
- Author:
- Yaniv Inbar
| Nested classes/interfaces inherited from interface java.util.Map |
Map.Entry<K,V> |
|
Field Summary |
String |
token
The temporary credentials identifier received from the client. |
String |
verifier
The verification code. |
| Methods inherited from class com.google.api.client.http.GenericUrl |
appendRawPath, build, clone, equals, getAll, getFirst, getRawPath, hashCode, setRawPath, toPathParts, toString |
token
public String token
- The temporary credentials identifier received from the client.
verifier
public String verifier
- The verification code.
OAuthCallbackUrl
public OAuthCallbackUrl(String encodedUrl)
Copyright © 2010-2011 Google. All Rights Reserved.