java.lang.Object | |
↳ | com.google.firebase.auth.TwitterAuthProvider |
Represents the Twitter authentication provider. Use this class to obtain TwitterAuthCredential
s.
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
String | PROVIDER_ID | Unique string identifier for this provider type. | |||||||||
String | TWITTER_SIGN_IN_METHOD | Unique string identifier for Twitter sign-in method. |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns a new instance of
AuthCredential that wraps a Log in with Twitter token. |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
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)
.
Parameters | |
---|---|
token |
String : a valid Log in with Twitter token (TwitterAuthToken.token ), obtained from
the Twitter Fabric SDK |
secret |
String : a valid Log in with Twitter secret (TwitterAuthToken.secret ), obtained
from the Twitter Fabric SDK
|
Returns | |
---|---|
AuthCredential |