ClientStatus enum

Inheritance
Available extensions

Values

configured → const ClientStatus

The SDK has been configured, either through VitalClient.Type.configure for the first time, or through VitalClient.Type.automaticConfiguration() where the last auto-saved configuration has been restored.

signedIn → const ClientStatus

The SDK has an active sign-in.

useApiKey → const ClientStatus

The active sign-in was done through an explicitly set target User ID, paired with a Vital API Key. (through VitalClient.Type.setUserId(_:))

Not recommended for production apps.

useSignInToken → const ClientStatus

The active sign-in is done through a Vital Sign-In Token via VitalClient.Type.signIn.

pendingReauthentication → const ClientStatus

A Vital Sign-In Token sign-in session that is currently on hold, requiring re-authentication using a new Vital Sign-In Token issued for the same user.

This generally should not happen, as Vital's identity broker guarantees only to revoke auth refresh tokens when a user is explicitly deleted, disabled or have their tokens explicitly revoked.

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
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

Static Methods

fromString(String rawValue) ClientStatus?

Constants

values → const List<ClientStatus>
A constant List of the values in this enum, in order of their declaration.