AuthenticationStatus enum

The authentication state of the current user session.

Inheritance
Available extensions

Values

unknown → const AuthenticationStatus

The authentication state has not yet been determined.

This is the initial value emitted by AuthenticationBloc during startup before StartupCubit resolves the stored token.

authenticated → const AuthenticationStatus

The user has a valid, unexpired session token.

unauthenticated → const AuthenticationStatus

The user has no active session, or their session has been revoked or expired.

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
name String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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<AuthenticationStatus>
A constant List of the values in this enum, in order of their declaration.