Class BasicAuthTwoFactorModel
View model for the standalone basic auth two-factor authentication page.
Inheritance
object
Namespace: Umbraco.Cms.Web.Website.Models
Assembly: Umbraco.Web.Website.dll
Syntax
public class BasicAuthTwoFactorModel
Constructors
View SourceBasicAuthTwoFactorModel()
Declaration
public BasicAuthTwoFactorModel()
Properties
View SourceErrorMessage
Gets or sets an error message to display on the 2FA form.
Declaration
public string? ErrorMessage { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ProviderNames
Gets or sets the enabled 2FA provider names for the user.
Declaration
public IEnumerable<string> ProviderNames { get; set; }
Property Value
| Type | Description |
|---|---|
| IEnumerable<string> |
ReturnPath
Gets or sets the local URL to redirect to after successful 2FA verification.
Declaration
public string? ReturnPath { get; set; }
Property Value
| Type | Description |
|---|---|
| string |