org.apache.shindig.gadgets.oauth
Class AccessorInfoBuilder
java.lang.Object
org.apache.shindig.gadgets.oauth.AccessorInfoBuilder
public class AccessorInfoBuilder
- extends Object
Builder for AccessorInfo object.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AccessorInfoBuilder
public AccessorInfoBuilder()
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.