twitter4j.http
Class AuthorizationFactory
java.lang.Object
twitter4j.http.AuthorizationFactory
public final class AuthorizationFactory
- extends java.lang.Object
A static factory class for Authorization.
- Since:
- Twitter4J 2.1.1
- Author:
- Yusuke Yamamoto - yusuke at mac.com
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AuthorizationFactory
public AuthorizationFactory()
getInstance
public static Authorization getInstance(Configuration conf,
boolean supportsOAuth)
getBasicAuthorizationInstance
public static Authorization getBasicAuthorizationInstance(java.lang.String screenName,
java.lang.String password)
- Deprecated. The @twitterapi team will be shutting off basic authentication on the Twitter API. All applications, by this date, need to switch to using OAuth. Read more »
- Parameters:
screenName - screen namepassword - password
- Returns:
- authorization instance
Copyright © 2011. All Rights Reserved.