SignInOptions Class

Options for configuring sign in..

Namespace
Microsoft.AspNetCore.Identity
Assemblies
  • Microsoft.AspNetCore.Identity

Syntax

public class SignInOptions
class Microsoft.AspNetCore.Identity.SignInOptions

Properties

Microsoft.AspNetCore.Identity.SignInOptions.RequireConfirmedEmail

Gets or sets a flag indicating whether a confirmed email address is required to sign in.

Return type:System.Boolean
Returns:True if a user must have a confirmed email address before they can sign in, otherwise false.
public bool RequireConfirmedEmail { get; set; }
Microsoft.AspNetCore.Identity.SignInOptions.RequireConfirmedPhoneNumber

Gets or sets a flag indicating whether a confirmed telephone number is required to sign in.

Return type:System.Boolean
Returns:True if a user must have a confirmed telephone number before they can sign in, otherwise false.
public bool RequireConfirmedPhoneNumber { get; set; }