Class TwoFactorLogin
Represents a two-factor authentication login configuration for a user or member.
Namespace: Umbraco.Cms.Core.Models
Assembly: Umbraco.Core.dll
Syntax
public class TwoFactorLogin : EntityBase, ITwoFactorLogin, IEntity, IDeepCloneable, IRememberBeingDirty, ICanBeDirty
Constructors
View SourceTwoFactorLogin()
Declaration
public TwoFactorLogin()
Properties
View SourceConfirmed
Gets or sets a value indicating whether the two-factor authentication has been confirmed/activated.
Declaration
public bool Confirmed { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
ProviderName
Gets or sets the name of the two-factor authentication provider.
Declaration
public string ProviderName { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Secret
Gets or sets the secret key used for two-factor authentication.
Declaration
public string Secret { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
UserOrMemberKey
Gets or sets the unique key of the user or member associated with this two-factor login.
Declaration
public Guid UserOrMemberKey { get; set; }
Property Value
| Type | Description |
|---|---|
| Guid |