Class Verify2FACodeModel
Used for 2FA verification
Inheritance
object
Namespace: Umbraco.Cms.Core.Models
Assembly: Umbraco.Core.dll
Syntax
public class Verify2FACodeModel
Properties
View SourceCode
Declaration
[Required]
public required string Code { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
IsPersistent
Flag indicating whether the sign-in cookie should persist after the browser is closed.
Declaration
public bool IsPersistent { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
Provider
Declaration
[Required]
public required string Provider { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
RememberClient
Flag indicating whether the current browser should be remember, suppressing all further two factor authentication prompts.
Declaration
public bool RememberClient { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |