Class Verify2FACodeModel
Used for 2FA verification
Inheritance
System.Object
Namespace: Umbraco.Cms.Core.Models
Assembly: Umbraco.Core.dll
Syntax
[DataContract(Name = "code", Namespace = "")]
public class Verify2FACodeModel
Properties
View SourceCode
Declaration
[Required]
[DataMember(Name = "code", IsRequired = true)]
public string Code { get; set; }
Property Value
Type | Description |
---|---|
System.String |
IsPersistent
Flag indicating whether the sign-in cookie should persist after the browser is closed.
Declaration
[DataMember(Name = "isPersistent", IsRequired = true)]
public bool IsPersistent { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Provider
Declaration
[Required]
[DataMember(Name = "provider", IsRequired = true)]
public string Provider { get; set; }
Property Value
Type | Description |
---|---|
System.String |
RememberClient
Flag indicating whether the current browser should be remember, suppressing all further two factor authentication prompts.
Declaration
[DataMember(Name = "rememberClient", IsRequired = true)]
public bool RememberClient { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |