CognitoSignInPluginOptions class
Cognito options for Amplify.Auth.signIn.
- Annotations
-
- @zAmplifySerializable
Constructors
-
CognitoSignInPluginOptions({AuthenticationFlowType? authFlowType, AuthFactorType? preferredFirstFactor, Map<
String, String> clientMetadata = const {}}) -
Cognito options for
Amplify.Auth.signIn.const -
CognitoSignInPluginOptions.fromJson(Map<
String, Object?> json) -
Cognito options for
Amplify.Auth.signIn.factory
Properties
- authFlowType → AuthenticationFlowType?
-
Runtime override of the Authentication flow to use for sign in.
final
-
clientMetadata
→ Map<
String, String> -
A map of custom key-value pairs that you can provide as input for certain
custom workflows that this action triggers.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- preferredFirstFactor → AuthFactorType?
-
The auth factor type the user should begin signing with if available. If the preferred
first factor is not available, the flow would fallback to provide available first factors.
final
-
props
→ List<
Object?> -
The type's equatable properties.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- runtimeTypeName → String
-
The string value of runtimeType, saving a runtime lookup and preventing
obfuscation during web compilation.
no setter
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, Object?> -
Serializes
thisas a JSON object. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited