|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.springframework.security.oauth.consumer.token.OAuthConsumerToken
public class OAuthConsumerToken
Interface for a consumer-side OAuth token.
| Constructor Summary | |
|---|---|
OAuthConsumerToken()
|
|
| Method Summary | |
|---|---|
java.lang.String |
getNonce()
The nonce associated with this token. |
java.lang.String |
getResourceId()
The id of the resource to which this token applies. |
java.lang.String |
getSecret()
The token secret. |
java.lang.String |
getValue()
The value of the token. |
boolean |
isAccessToken()
Whether this is an OAuth access token. |
void |
setAccessToken(boolean accessToken)
Whether this is an OAuth access token. |
void |
setNonce(java.lang.String nonce)
The nonce associated with this token. |
void |
setResourceId(java.lang.String resourceId)
The id of the resource to which this token applies. |
void |
setSecret(java.lang.String secret)
The token secret. |
void |
setValue(java.lang.String value)
The value of the token. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public OAuthConsumerToken()
| Method Detail |
|---|
public java.lang.String getResourceId()
public void setResourceId(java.lang.String resourceId)
resourceId - The id of the resource to which this token applies.public java.lang.String getValue()
public void setValue(java.lang.String value)
value - The value of the token.public java.lang.String getSecret()
public void setSecret(java.lang.String secret)
secret - The token secret.public java.lang.String getNonce()
public void setNonce(java.lang.String nonce)
nonce - The nonce associated with this token.public boolean isAccessToken()
public void setAccessToken(boolean accessToken)
accessToken - Whether this is an OAuth access token.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||