Class SignInResult
- Namespace
- VpnHood.AppLib.Abstractions.Accounts
- Assembly
- VpnHood.AppLib.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
- Inherited Members
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
State
Gets where the sign-in stands.
public required SignInState State { get; init; }