FirebaseSocialAuth class final

SocialAuthService backed by Firebase Auth.

Supports Google and GitHub out of the box. Apple and Facebook require additional packages and will throw a clear UnsupportedError when called without them.

Implemented types

Constructors

FirebaseSocialAuth({FirebaseAuth? auth})
Creates a FirebaseSocialAuth.

Properties

currentUserId String?
The current user's Firebase UID, or null when signed out.
no setteroverride
hashCode int
The hash code for this object.
no setterinherited
isSignedIn bool
Whether a user is currently signed in.
no setteroverride
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
signIn(SocialProvider provider) Future<SocialAuthResult?>
Signs in with the specified provider.
override
signOut() Future<void>
Signs out from Firebase Auth and any provider-specific session.
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited