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