Class SignInOptions
Represents a sign-in: its method, with the credentials or the second step's code.
public record SignInOptions : IEquatable<SignInOptions>
- Inheritance
-
SignInOptions
- Implements
- Inherited Members
Properties
Password
Gets the password, for the password sign-in's first step, or null.
public string? Password { get; init; }
Property Value
ProviderId
Gets the sign-in method, one of AuthProviderIds (AuthProviders).
public required string ProviderId { get; init; }
Property Value
TwoFactorCode
Gets the second step's code, the authenticator app's or the account's backup code, or null.
public string? TwoFactorCode { get; init; }
Property Value
Remarks
It goes alone, without UserName and Password, with the same ProviderId, after a sign-in whose state was not SignedIn.
UserName
Gets the email address, for the password sign-in's first step, or null.
public string? UserName { get; init; }