Represents the Twitter authentication provider. Use this class to obtain TwitterAuthCredentials.
| String | PROVIDER_ID | Unique string identifier for this provider type. |
| String | TWITTER_SIGN_IN_METHOD | Unique string identifier for Twitter sign-in method. |
| static AuthCredential |
getCredential(String token,
String
secret)
Returns a new instance of
AuthCredential
that wraps a Log in with Twitter token.
|
Unique string identifier for this provider type.
Unique string identifier for Twitter sign-in method.
Returns a new instance of AuthCredential
that wraps a Log in with Twitter token. Used when calling
signInWithCredential(AuthCredential) or
linkWithCredential(AuthCredential).
| token | a valid Log in with Twitter token (TwitterAuthToken.token),
obtained from the Twitter Fabric SDK |
|---|---|
| secret | a valid Log in with Twitter secret (TwitterAuthToken.secret),
obtained from the Twitter Fabric SDK |