nl.surfnet.coin.shindig.oauth
Class CoinOAuthTokenInfo
java.lang.Object
nl.surfnet.coin.shindig.oauth.CoinOAuthTokenInfo
- All Implemented Interfaces:
- Serializable
public class CoinOAuthTokenInfo
- extends Object
- implements Serializable
Domain object to store OAuthStore.TokenInfo objects in the database
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MODULE_ID
public static final String MODULE_ID
- See Also:
- Constant Field Values
CoinOAuthTokenInfo
public CoinOAuthTokenInfo()
CoinOAuthTokenInfo
public CoinOAuthTokenInfo(org.apache.shindig.auth.SecurityToken securityToken,
String serviceName,
String tokenName,
OAuthStore.TokenInfo tokenInfo)
getId
public String getId()
- Returns:
- the id
setId
public void setId(String id)
- Parameters:
id - the id to set
getAccessToken
public String getAccessToken()
- Returns:
- the accessToken
setAccessToken
public void setAccessToken(String accessToken)
- Parameters:
accessToken - the accessToken to set
getTokenSecret
public String getTokenSecret()
- Returns:
- the tokenSecret
setTokenSecret
public void setTokenSecret(String tokenSecret)
- Parameters:
tokenSecret - the tokenSecret to set
getSessionHandle
public String getSessionHandle()
- Returns:
- the sessionHandle
setSessionHandle
public void setSessionHandle(String sessionHandle)
- Parameters:
sessionHandle - the sessionHandle to set
getTokenExpireMillis
public long getTokenExpireMillis()
- Returns:
- the tokenExpireMillis
setTokenExpireMillis
public void setTokenExpireMillis(long tokenExpireMillis)
- Parameters:
tokenExpireMillis - the tokenExpireMillis to set
getAppUrl
public String getAppUrl()
- Returns:
- the appUrl
setAppUrl
public void setAppUrl(String appUrl)
- Parameters:
appUrl - the appUrl to set
getModuleId
public String getModuleId()
- Returns:
- the moduleId
setModuleId
public void setModuleId(String moduleId)
- Parameters:
moduleId - the moduleId to set
getServiceName
public String getServiceName()
- Returns:
- the serviceName
setServiceName
public void setServiceName(String serviceName)
- Parameters:
serviceName - the serviceName to set
getTokenName
public String getTokenName()
- Returns:
- the tokenName
setTokenName
public void setTokenName(String tokenName)
- Parameters:
tokenName - the tokenName to set
getUserId
public String getUserId()
- Returns:
- the userId
setUserId
public void setUserId(String userId)
- Parameters:
userId - the userId to set
Copyright © 2007-2012. All Rights Reserved.