Class DefaultBackOfficeTwoFactorOptions
Inheritance
object
Namespace: Umbraco.Cms.Api.Management.Security
Assembly: Umbraco.Cms.Api.Management.dll
Syntax
public class DefaultBackOfficeTwoFactorOptions : IBackOfficeTwoFactorOptions
Constructors
View SourceDefaultBackOfficeTwoFactorOptions()
Declaration
public DefaultBackOfficeTwoFactorOptions()
Methods
View SourceGetTwoFactorView(string)
Gets the view to display for the two factor challenge.
Declaration
public string? GetTwoFactorView(string username)
Parameters
| Type | Name | Description |
|---|---|---|
| string | username | The username of the logged-in user. |
Returns
| Type | Description |
|---|---|
| string | A null value to let the login screen show its default. |
Remarks
Defaults to null to let the login screen show its default.