LoginWith2faModel.InputModel.TwoFactorCode Propriedade

Definição

Essa API dá suporte à infraestrutura de interface do usuário padrão do ASP.NET Core Identity e não se destina a ser usada diretamente do código. Essa API pode ser alterada ou removida em versões futuras.

[System.ComponentModel.DataAnnotations.DataType(System.ComponentModel.DataAnnotations.DataType.Text)]
[System.ComponentModel.DataAnnotations.Display(Name="Authenticator code")]
[System.ComponentModel.DataAnnotations.Required]
[System.ComponentModel.DataAnnotations.StringLength(7, ErrorMessage="The {0} must be at least {2} and at max {1} characters long.", MinimumLength=6)]
public string TwoFactorCode { get; set; }
[<System.ComponentModel.DataAnnotations.DataType(System.ComponentModel.DataAnnotations.DataType.Text)>]
[<System.ComponentModel.DataAnnotations.Display(Name="Authenticator code")>]
[<System.ComponentModel.DataAnnotations.Required>]
[<System.ComponentModel.DataAnnotations.StringLength(7, ErrorMessage="The {0} must be at least {2} and at max {1} characters long.", MinimumLength=6)>]
member this.TwoFactorCode : string with get, set
Public Property TwoFactorCode As String

Valor da propriedade

Atributos

Aplica-se a