com.google.api.client.auth.oauth
Class OAuthCallbackUrl

java.lang.Object
  extended by java.util.AbstractMap<String,Object>
      extended by com.google.api.client.util.GenericData
          extended by com.google.api.client.http.GenericUrl
              extended by 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 Class Summary
 
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
 
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.
 
Fields inherited from class com.google.api.client.http.GenericUrl
fragment, host, pathParts, port, scheme
 
Fields inherited from class com.google.api.client.util.GenericData
unknownFields
 
Constructor Summary
OAuthCallbackUrl(String encodedUrl)
           
 
Method Summary
 
Methods inherited from class com.google.api.client.http.GenericUrl
appendRawPath, build, clone, equals, getAll, getFirst, getRawPath, hashCode, setRawPath, toPathParts, toString
 
Methods inherited from class com.google.api.client.util.GenericData
entrySet, get, put, putAll, remove, set
 
Methods inherited from class java.util.AbstractMap
clear, containsKey, containsValue, isEmpty, keySet, size, values
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

token

public String token
The temporary credentials identifier received from the client.


verifier

public String verifier
The verification code.

Constructor Detail

OAuthCallbackUrl

public OAuthCallbackUrl(String encodedUrl)


Copyright © 2010-2011 Google. All Rights Reserved.