FacebookAuthProvider class

Inheritance

Constructors

FacebookAuthProvider()
Creates a new FacebookAuthProvider.
factory
FacebookAuthProvider.fromJsObject(FacebookAuthProviderJsImpl jsObject)
Creates a new FacebookAuthProvider from a jsObject.

Properties

hashCode int
The hash code for this object.
no setterinherited
jsObject → FacebookAuthProviderJsImpl
JS object.
finalinherited
providerId String
Provider id.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addScope(String scope) FacebookAuthProvider
Adds additional OAuth 2.0 scopes that you want to request from the authentication provider.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setCustomParameters(Map<String, dynamic> customOAuthParameters) FacebookAuthProvider
Sets the OAuth custom parameters to pass in a Facebook OAuth request for popup and redirect sign-in operations. Valid parameters include 'auth_type', 'display' and 'locale'. For a detailed list, check the Facebook documentation. Reserved required OAuth 2.0 parameters such as 'client_id', 'redirect_uri', 'scope', 'response_type' and 'state' are not allowed and 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) OAuthCredential
Creates a credential for Facebook.