Table of Contents

Enum SignInState

Namespace
VpnHood.AppLib.Api.Accounts
Assembly
VpnHood.AppLib.Api.dll

Specifies what a sign-in did.

[JsonConverter(typeof(JsonStringEnumConverter<SignInState>))]
public enum SignInState

Fields

SignedIn = 0

The person is signed in.

TotpRequired = 1

A code from the authenticator app is due; the account's backup code is taken too.

Remarks

Anything but SignedIn signed nobody in: the account has a second step, and the sign-in is repeated with TwoFactorCode. A second step has a member only where the app can answer it, and the sign-in refuses one this build does not know. In JSON it is a name.