TwitterAuthProvider class
Twitter auth provider.
See: firebase.google.com/docs/reference/js/firebase.auth.TwitterAuthProvider.
- Inheritance
-
- Object
- AuthProvider<
TwitterAuthProviderJsImpl> - TwitterAuthProvider
Constructors
- TwitterAuthProvider()
-
Creates a new TwitterAuthProvider.
factory
- TwitterAuthProvider.fromJsObject(TwitterAuthProviderJsImpl jsObject)
-
Creates a new TwitterAuthProvider from a
jsObject
.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- jsObject → TwitterAuthProviderJsImpl
-
JS object.
finalinherited
- providerId → String
-
Provider id.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setCustomParameters(
Map< String, dynamic> customOAuthParameters) → TwitterAuthProvider - Sets the OAuth custom parameters to pass in a Twitter OAuth request for popup and redirect sign-in operations. Valid parameters include 'lang'. Reserved required OAuth 1.0 parameters such as 'oauth_consumer_key', 'oauth_token', 'oauth_signature', etc are not allowed and will be ignored.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- PROVIDER_ID ↔ String
-
getter/setter pair
Static Methods
-
credential(
String token, String secret) → OAuthCredential - Creates a credential for Twitter.