blob: 795b0365bf52d2c7c1456c83d9d742c375b22f7c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
package support;
/**
* Contains an OAuth token and secret pair. These tokens can be retrieved from
* dev.twitter.com (https://dev.twitter.com/docs/auth/tokens-devtwittercom) or
* by querying the user for a specific PIN. See {@link mining.OAuthRequester}
* for the latter method.
*
* @author Peter Wu
*/
public class OAuthAccessTokenSecret {
private final String token;
private final String secret;
public OAuthAccessTokenSecret(String token, String secret) {
this.token = token;
this.secret = secret;
}
public String getToken() {
return token;
}
public String getSecret() {
return secret;
}
}
|