@Token(name="Twitter API", url="https://dev.twitter.com/apps/new") public class TwitterAPIToken extends Object
Modifier and Type | Field and Description |
---|---|
String |
accessSecret
The access secret
|
String |
accessToken
The access token
|
String |
consumerKey
The consumer key
|
String |
consumerSecret
The consumer secret
|
Constructor and Description |
---|
TwitterAPIToken()
Construct an empty token.
|
TwitterAPIToken(String consumerKey,
String consumerSecret,
String accessToken,
String accessSecret)
Construct a token with the given parameters.
|
@Parameter(name="Consumer Key") public String consumerKey
@Parameter(name="Consumer Secret") public String consumerSecret
@Parameter(name="Access Token") public String accessToken
@Parameter(name="Access Secret") public String accessSecret
public TwitterAPIToken()
public TwitterAPIToken(String consumerKey, String consumerSecret, String accessToken, String accessSecret)
consumerKey
- the consumer keyconsumerSecret
- the consumer secretaccessToken
- the access tokenaccessSecret
- the access secret