org.apache.shindig.gadgets.oauth
Class AccessorInfoBuilder

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

public class AccessorInfoBuilder
extends Object

Builder for AccessorInfo object.


Constructor Summary
AccessorInfoBuilder()
           
 
Method Summary
 AccessorInfo create(OAuthResponseParams responseParams)
           
 void setAccessToken(String accessToken)
           
 void setConsumer(OAuthStore.ConsumerInfo consumer)
           
 void setMethod(AccessorInfo.HttpMethod method)
           
 void setParameterLocation(AccessorInfo.OAuthParamLocation location)
           
 void setRequestToken(String requestToken)
           
 void setSessionHandle(String sessionHandle)
           
 void setTokenExpireMillis(long tokenExpireMillis)
           
 void setTokenSecret(String tokenSecret)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AccessorInfoBuilder

public AccessorInfoBuilder()
Method Detail

create

public AccessorInfo create(OAuthResponseParams responseParams)
                    throws OAuthRequestException
Throws:
OAuthRequestException

setConsumer

public void setConsumer(OAuthStore.ConsumerInfo consumer)

setRequestToken

public void setRequestToken(String requestToken)

setAccessToken

public void setAccessToken(String accessToken)

setTokenSecret

public void setTokenSecret(String tokenSecret)

setParameterLocation

public void setParameterLocation(AccessorInfo.OAuthParamLocation location)

setMethod

public void setMethod(AccessorInfo.HttpMethod method)

setSessionHandle

public void setSessionHandle(String sessionHandle)

setTokenExpireMillis

public void setTokenExpireMillis(long tokenExpireMillis)


Copyright © 2007-2012. All Rights Reserved.