CognitoSignInDetailsApiBased class

Sign in details for Cognito API-based (e.g. SRP or Custom Auth).

Inheritance
Annotations
  • @zAmplifySerializable
  • @_AuthFlowTypeSerializer()

Constructors

CognitoSignInDetailsApiBased({required String username, AuthFlowType? authFlowType})
Sign in details for Cognito API-based (e.g. SRP or Custom Auth).
const
CognitoSignInDetailsApiBased.fromJson(Map<String, Object?> json)
Sign in details for Cognito API-based (e.g. SRP or Custom Auth).
factory

Properties

authFlowType → AuthFlowType?
The flow used to sign-in, e.g. SRP or Custom Auth.
final
hashCode int
The hash code for this object.
no setterinherited
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
signInType CognitoSignInType
The type of sign-in initiated by the user.
finalinherited
username String
The username passed to Amplify.Auth.signIn.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, Object?>
Serializes this as a JSON object.
toString() String
A string representation of this object.
inherited

Operators

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