org.apache.shindig.gadgets.oauth
Class OAuthCallbackState

java.lang.Object
  extended by org.apache.shindig.gadgets.oauth.OAuthCallbackState

public class OAuthCallbackState
extends Object

Handles state passed on the OAuth callback URL. TODO: there's probably an abstract superclass that can be reused by OAuthClientState and this class.


Constructor Summary
OAuthCallbackState(BlobCrypter crypter)
           
OAuthCallbackState(BlobCrypter crypter, String stateBlob)
           
 
Method Summary
 String getEncryptedState()
           
 String getRealCallbackUrl()
           
 void setRealCallbackUrl(String realCallbackUrl)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OAuthCallbackState

public OAuthCallbackState(BlobCrypter crypter)

OAuthCallbackState

public OAuthCallbackState(BlobCrypter crypter,
                          String stateBlob)
Method Detail

getEncryptedState

public String getEncryptedState()
                         throws BlobCrypterException
Throws:
BlobCrypterException

getRealCallbackUrl

public String getRealCallbackUrl()

setRealCallbackUrl

public void setRealCallbackUrl(String realCallbackUrl)


Copyright © 2007-2012. All Rights Reserved.