|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecttwitter4j.http.AuthorizationFactory
public final class AuthorizationFactory
A static factory class for Authorization.
Constructor Summary | |
---|---|
AuthorizationFactory()
|
Method Summary | |
---|---|
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)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AuthorizationFactory()
Method Detail |
---|
public static Authorization getInstance(Configuration conf, boolean supportsOAuth)
public static Authorization getBasicAuthorizationInstance(java.lang.String screenName, java.lang.String password)
screenName
- screen namepassword
- password
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |