UserAuthenticationProvider enum

Enum representing supported email authentication providers.

This enum defines the different methods available for authenticating users through email-based authentication systems. Each provider offers different security and user experience characteristics.

Inheritance
Available extensions

Values

emailPassword → const UserAuthenticationProvider

Email and password authentication.

Traditional username/password authentication where users provide their email address and a password to sign in.

Email magic link authentication.

Passwordless authentication where users receive a magic link via email that automatically signs them in when clicked.

emailOneTimeCode → const UserAuthenticationProvider

Email one-time code authentication.

Passwordless authentication where users receive a temporary numeric code via email that they enter to sign in.

apple → const UserAuthenticationProvider

Apple authentication.

Sign in with Apple allows users to authenticate using their Apple ID.

google → const UserAuthenticationProvider

Google authentication.

Sign in with Google allows users to authenticate using their Google account.

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
name String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value String

Available on UserAuthenticationProvider, provided by the UserAuthenticationProviderExtension extension

Returns the string value for the provider.
no setter

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

Constants

values → const List<UserAuthenticationProvider>
A constant List of the values in this enum, in order of their declaration.