twitter4j.auth
Class RequestToken

java.lang.Object
  extended by twitter4j.auth.OAuthToken
      extended by twitter4j.auth.RequestToken
All Implemented Interfaces:
java.io.Serializable

public final 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

Field Summary
private  Configuration conf
           
private  OAuthSupport oauth
           
private static long serialVersionUID
           
 
Fields inherited from class twitter4j.auth.OAuthToken
responseStr
 
Constructor Summary
RequestToken(twitter4j.internal.http.HttpResponse res, OAuthSupport oauth)
           
RequestToken(java.lang.String token, java.lang.String tokenSecret)
           
RequestToken(java.lang.String token, java.lang.String tokenSecret, OAuthSupport oauth)
           
 
Method Summary
 java.lang.String getAuthenticationURL()
           
 java.lang.String getAuthorizationURL()
           
 
Methods inherited from class twitter4j.auth.OAuthToken
equals, getParameter, getSecretKeySpec, getToken, getTokenSecret, hashCode, setSecretKeySpec, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

conf

private final Configuration conf

oauth

private OAuthSupport oauth

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values
Constructor Detail

RequestToken

RequestToken(twitter4j.internal.http.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)
Method Detail

getAuthorizationURL

public java.lang.String getAuthorizationURL()
Returns:
authorization URL since Twitter4J 2.0.0

getAuthenticationURL

public java.lang.String getAuthenticationURL()
Returns:
authentication URL since Twitter4J 2.0.10