|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.springframework.security.oauth.provider.token.OAuthProviderTokenImpl
public class OAuthProviderTokenImpl
Basic implementation for an OAuth token.
| Constructor Summary | |
|---|---|
OAuthProviderTokenImpl()
|
|
| Method Summary | |
|---|---|
String |
getCallbackUrl()
The callback url associated with this token. |
String |
getConsumerKey()
The consumer key associated with this oauth token. |
String |
getSecret()
The token secret. |
long |
getTimestamp()
Timestamp associated with this token. |
org.springframework.security.core.Authentication |
getUserAuthentication()
The authentication of the user who granted the access token. |
String |
getValue()
The value of the token. |
String |
getVerifier()
The verifier string for this token. |
boolean |
isAccessToken()
Whether this is an OAuth access token. |
void |
setAccessToken(boolean accessToken)
Whether this is an OAuth access token. |
void |
setCallbackUrl(String callbackUrl)
The callback url associated with this token. |
void |
setConsumerKey(String consumerKey)
The consumer key associated with this oauth token. |
void |
setSecret(String secret)
The token secret. |
void |
setTimestamp(long timestamp)
Timestamp associated with this token. |
void |
setUserAuthentication(org.springframework.security.core.Authentication userAuthentication)
The authentication of the user who granted the access token. |
void |
setValue(String value)
The value of the token. |
void |
setVerifier(String verifier)
The verifier string for this (access) token. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public OAuthProviderTokenImpl()
| Method Detail |
|---|
public String getValue()
getValue in interface OAuthProviderTokenpublic void setValue(String value)
value - The value of the token.public String getSecret()
getSecret in interface OAuthProviderTokenpublic void setSecret(String secret)
secret - The token secret.public String getConsumerKey()
getConsumerKey in interface OAuthProviderTokenpublic void setConsumerKey(String consumerKey)
consumerKey - The consumer key associated with this oauth token.public String getCallbackUrl()
getCallbackUrl in interface OAuthProviderTokenpublic void setCallbackUrl(String callbackUrl)
callbackUrl - The callback url associated with this token.public boolean isAccessToken()
isAccessToken in interface OAuthProviderTokenpublic void setAccessToken(boolean accessToken)
accessToken - Whether this is an OAuth access token.public String getVerifier()
getVerifier in interface OAuthProviderTokenpublic void setVerifier(String verifier)
verifier - The verifier string for this (access) token.public org.springframework.security.core.Authentication getUserAuthentication()
getUserAuthentication in interface OAuthAccessProviderTokenpublic void setUserAuthentication(org.springframework.security.core.Authentication userAuthentication)
userAuthentication - The authentication of the user who granted the access token.public long getTimestamp()
public void setTimestamp(long timestamp)
timestamp - Timestamp associated with this token.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||