Class MemberTwoFactorRequestedNotification
Notification published when a member requests two-factor authentication.
Inheritance
object
Namespace: Umbraco.Cms.Core.Notifications
Assembly: Umbraco.Core.dll
Syntax
public class MemberTwoFactorRequestedNotification : INotification
Remarks
This notification is published when a member attempts to authenticate and two-factor authentication is required. Handlers can use this for logging or additional security checks.
Constructors
View SourceMemberTwoFactorRequestedNotification(Guid?)
Initializes a new instance of the MemberTwoFactorRequestedNotification class.
Declaration
public MemberTwoFactorRequestedNotification(Guid? memberKey)
Parameters
| Type | Name | Description |
|---|---|---|
| Guid? | memberKey | The unique key of the member requesting two-factor authentication, or null if not identified. |
Properties
View SourceMemberKey
Gets the unique key of the member requesting two-factor authentication, or null if the member is not identified.
Declaration
public Guid? MemberKey { get; }
Property Value
| Type | Description |
|---|---|
| Guid? |