AuthHubEvent class Auth

The base class for hub events of the Auth category.

One of AuthHubEventType.values.

Constructors

AuthHubEvent.sessionExpired()
Emitted when a user's session expires, i.e. their Cognito User Pool tokens or AWS credentials expire and cannot be refreshed.
AuthHubEvent.signedIn(AuthUser user)
Emitted when a user successfully signs in or when the app is started and a user was already signed in.
AuthHubEvent.signedOut()
Emitted when the user is signed out, either by calling Amplify.Auth.signOut or implicitly via a call to Amplify.Auth.deleteUser, for example.
AuthHubEvent.userDeleted()
Emitted when a user is deleted by calling Amplify.Auth.deleteUser.

Properties

eventName String
finalinherited
hashCode int
The hash code for this object.
no setterinherited
payload AuthUser?
finalinherited
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
type AuthHubEventType
Hub Event types for the Auth category.
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