OAuthEngine class
OAuthEngine This class is responsible for managing all the OAuthLoginFlows It internally uses the plugin: firebase_auth_oauth and Supports Github, Twitter, Microsoft, Yahoo, Apple (Basically SocialAuth)
Constructors
Properties
- hashCode → int
-
The hash code for this object.
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
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
appleOAuthLogin(
{dynamic onError(String)?}) → Future< User?> - This Function is Responsible for initiating the Apple OAuthEngine
-
githubOAuthSignIn(
{dynamic onError(String)?}) → Future< User?> - This Function is Responsible for initiating the Github OAuthEngine
-
microsoftOAuthLogin(
{dynamic onError(String)?}) → Future< User?> - This Function is Responsible for initiating the Github OAuthEngine
-
performOAuthLogin(
{required String provider, List< String> ? scopes, Map<String, String> ? parameters, dynamic onError(String)?}) → Future<User?> - This function is responsible to conduct the OAuthLoginFlow and handle all the errors associated with it.
-
twitterOAuthSignIn(
{dynamic onError(String)?}) → Future< User?> - This Function is Responsible for initiating the Twitter OAuthEngine.
-
yahooOAuthLogin(
{dynamic onError(String)?}) → Future< User?> - This Function is Responsible for initiating the Github OAuthEngine