CognitoSignInDetails class abstract

The details of how a user logged in.

Inheritance
Implementers

Constructors

CognitoSignInDetails(CognitoSignInType signInType)
The details of how a user logged in.
const
CognitoSignInDetails.apiBased({required String username, AuthFlowType? authFlowType})
Sign in details for Cognito API-based (e.g. SRP or Custom Auth).
const
factory
CognitoSignInDetails.fromJson(Map<String, Object?> json)
The details of how a user logged in.
factory
CognitoSignInDetails.hostedUi({AuthProvider? provider})
Sign in details for Cognito Hosted UI.
const
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
signInType CognitoSignInType
The type of sign-in initiated by the user.
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.
inherited
toString() String
A string representation of this object.
inherited

Operators

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