Class DefaultBackOfficeTwoFactorOptions
Supports all classes in the .NET class hierarchy and provides low-level services to derived classes. This is the ultimate base class of all .NET classes; it is the root of the type hierarchy.
Inheritance
object
Namespace: Umbraco.Cms.Api.Management.Security
Assembly: Umbraco.Cms.Api.Management.dll
Syntax
public class DefaultBackOfficeTwoFactorOptions : IBackOfficeTwoFactorOptions
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.