public class OAuthConsumerToken extends Object implements Serializable
Constructor and Description |
---|
OAuthConsumerToken() |
Modifier and Type | Method and Description |
---|---|
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() |
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.Copyright © 2019. All rights reserved.