@Deprecated public class OAuthProviderTokenImpl extends Object implements OAuthAccessProviderToken
Constructor and Description |
---|
OAuthProviderTokenImpl()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
String |
getCallbackUrl()
Deprecated.
The callback url associated with this token.
|
String |
getConsumerKey()
Deprecated.
The consumer key associated with this oauth token.
|
String |
getSecret()
Deprecated.
The token secret.
|
long |
getTimestamp()
Deprecated.
Timestamp associated with this token.
|
org.springframework.security.core.Authentication |
getUserAuthentication()
Deprecated.
The authentication of the user who granted the access token.
|
String |
getValue()
Deprecated.
The value of the token.
|
String |
getVerifier()
Deprecated.
The verifier string for this token.
|
boolean |
isAccessToken()
Deprecated.
Whether this is an OAuth access token.
|
void |
setAccessToken(boolean accessToken)
Deprecated.
Whether this is an OAuth access token.
|
void |
setCallbackUrl(String callbackUrl)
Deprecated.
The callback url associated with this token.
|
void |
setConsumerKey(String consumerKey)
Deprecated.
The consumer key associated with this oauth token.
|
void |
setSecret(String secret)
Deprecated.
The token secret.
|
void |
setTimestamp(long timestamp)
Deprecated.
Timestamp associated with this token.
|
void |
setUserAuthentication(org.springframework.security.core.Authentication userAuthentication)
Deprecated.
The authentication of the user who granted the access token.
|
void |
setValue(String value)
Deprecated.
The value of the token.
|
void |
setVerifier(String verifier)
Deprecated.
The verifier string for this (access) token.
|
public String getValue()
getValue
in interface OAuthProviderToken
public void setValue(String value)
value
- The value of the token.public String getSecret()
getSecret
in interface OAuthProviderToken
public void setSecret(String secret)
secret
- The token secret.public String getConsumerKey()
getConsumerKey
in interface OAuthProviderToken
public void setConsumerKey(String consumerKey)
consumerKey
- The consumer key associated with this oauth token.public String getCallbackUrl()
getCallbackUrl
in interface OAuthProviderToken
public void setCallbackUrl(String callbackUrl)
callbackUrl
- The callback url associated with this token.public boolean isAccessToken()
isAccessToken
in interface OAuthProviderToken
public void setAccessToken(boolean accessToken)
accessToken
- Whether this is an OAuth access token.public String getVerifier()
getVerifier
in interface OAuthProviderToken
public void setVerifier(String verifier)
verifier
- The verifier string for this (access) token.public org.springframework.security.core.Authentication getUserAuthentication()
getUserAuthentication
in interface OAuthAccessProviderToken
public 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.Copyright © 2019. All rights reserved.