AuthHubEventType enum Auth
Hub Event types for the Auth category.
Constructors
- AuthHubEventType(String eventName)
-
Hub Event types for the Auth category.
const
Values
- signedIn → const AuthHubEventType
-
Emitted when a user successfully signs in or when the app is started and a user was already signed in.
const AuthHubEventType('SIGNED_IN')
- signedOut → const AuthHubEventType
-
Emitted when the user is signed out, either by calling
Amplify.Auth.signOut
or implicitly via a call toAmplify.Auth.deleteUser
, for example.const AuthHubEventType('SIGNED_OUT')
- sessionExpired → const AuthHubEventType
-
Emitted when a user's session expires, i.e. their Cognito User Pool tokens or AWS credentials expire and cannot be refreshed.
const AuthHubEventType('SESSION_EXPIRED')
- userDeleted → const AuthHubEventType
-
Emitted when a user is deleted by calling
Amplify.Auth.deleteUser
.const AuthHubEventType('USER_DELETED')
Properties
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
Constants
-
values
→ const List<
AuthHubEventType> - A constant List of the values in this enum, in order of their declaration.