Table of Contents

Class SignInResult

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

Represents what a sign-in did.

public record SignInResult : IEquatable<SignInResult>
Inheritance
SignInResult
Implements
Inherited Members

Remarks

With a State other than SignedIn, nobody is signed in yet, and the sign-in is repeated with TwoFactorCode.

Properties

NewBackupCode

Gets the account's new backup code, after a sign-in that used the old one up, or null.

public string? NewBackupCode { get; init; }

Property Value

string

Remarks

The UI shows it once: nothing shows it again.

State

Gets where the sign-in stands.

public required SignInState State { get; init; }

Property Value

SignInState