AuthProviderType enum

The authentication strategy implemented by a provider.

Used by AuthyraClient to apply strategy-specific validation and to generate meaningful log messages and error descriptions.

Inheritance
Available extensions

Values

credentials → const AuthProviderType

Email + password or any custom credentials form.

oauth2 → const AuthProviderType

OAuth 2.0 / OIDC Authorization Code flow (with optional PKCE).

Passwordless email / magic-link flow.

phone → const AuthProviderType

SMS one-time-password flow.

custom → const AuthProviderType

Custom or composite strategy not covered by the above.

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

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<AuthProviderType>
A constant List of the values in this enum, in order of their declaration.