twitter4j.http
Class RequestToken
java.lang.Object
twitter4j.http.OAuthToken
twitter4j.http.RequestToken
- All Implemented Interfaces:
- java.io.Serializable
public class RequestToken
- extends OAuthToken
- implements java.io.Serializable
- Author:
- Yusuke Yamamoto - yusuke at mac.com
representing unauthorized Request Token which is passed to the service provider when acquiring the authorized Access Token
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
conf
private final Configuration conf
oauth
private OAuthSupport oauth
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
RequestToken
RequestToken(HttpResponse res,
OAuthSupport oauth)
throws TwitterException
- Throws:
TwitterException
RequestToken
public RequestToken(java.lang.String token,
java.lang.String tokenSecret)
RequestToken
RequestToken(java.lang.String token,
java.lang.String tokenSecret,
OAuthSupport oauth)
getAccessToken
public AccessToken getAccessToken()
throws TwitterException
- Throws:
TwitterException
getAccessToken
public AccessToken getAccessToken(java.lang.String oauth_verifier)
throws TwitterException
- Throws:
TwitterException
getAuthorizationURL
public java.lang.String getAuthorizationURL()
getAuthenticationURL
public java.lang.String getAuthenticationURL()
- since Twitter4J 2.0.10
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in class OAuthToken
hashCode
public int hashCode()
- Overrides:
hashCode
in class OAuthToken