Table of Contents

Class SignInResult

Namespace
VpnHood.AppLogic.Abstractions.Accounts
Assembly
VpnHood.AppLogic.Abstractions.dll

What a SignIn call accomplished. See SignInState: anything but SignedIn means nothing is signed in yet and the caller must repeat SignIn with SignInOptions.TwoFactorCode.

public record SignInResult : IEquatable<SignInResult>
Inheritance
SignInResult
Implements

Properties

NewBackupCode

Only with SignedIn, and only after a completion that spent the backup code: the replacement. The UI must show it once — nothing ever shows it again.

public string? NewBackupCode { get; init; }

Property Value

string

State

Gets where the sign-in stands.

public required SignInState State { get; init; }

Property Value

SignInState