Enum SignInState
- Namespace
- VpnHood.AppLib.Abstractions.Accounts
- Assembly
- VpnHood.AppLib.Abstractions.dll
What a SignIn call accomplished. Anything but SignedIn means NOTHING is signed in yet — the account uses a second factor, and the caller must repeat SignIn with SignInOptions.TwoFactorCode. One member per second-factor kind this app can actually answer: a kind the build does not know is refused by the provider rather than handed to a UI that could only show the wrong prompt.
[JsonConverter(typeof(JsonStringEnumConverter<SignInState>))]
public enum SignInState
Fields
SignedIn = 0The session is established.
TotpRequired = 1A code from the authenticator app is due (the account's backup code is always accepted too).