AuthCredentials class
Credential input for username/password flows.
Constructors
-
AuthCredentials({String? email, String? username, String? password, Map<
String, dynamic> ? attributes}) -
AuthCredentials.fromMap(Map<
String, dynamic> data) -
Builds credentials from a request payload.
factory
Properties
-
attributes
→ Map<
String, dynamic> -
Additional credential fields.
final
- email → String?
-
Email address supplied by the client.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- password → String?
-
Password supplied by the client.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- username → String?
-
Username supplied by the client.
final
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