public final class AuthorizationFactory
extends java.lang.Object
| Constructor and Description |
|---|
AuthorizationFactory() |
| Modifier and Type | Method and Description |
|---|---|
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 »
|
static Authorization |
getInstance(Configuration conf,
boolean supportsOAuth) |
public static Authorization getInstance(Configuration conf, boolean supportsOAuth)
public static Authorization getBasicAuthorizationInstance(java.lang.String screenName, java.lang.String password)
screenName - screen namepassword - password