Search Results for

    Show / Hide Table of Contents
    View Source

    Class UserTwoFactorRequestedNotification

    Notification that is published when two-factor authentication is requested for a user.

    Inheritance
    object
    Namespace: Umbraco.Cms.Core.Notifications
    Assembly: Umbraco.Core.dll
    Syntax
    public class UserTwoFactorRequestedNotification : INotification
    Remarks

    This notification can be used to implement custom two-factor authentication providers or to perform additional actions when 2FA is triggered.

    Constructors

    View Source

    UserTwoFactorRequestedNotification(Guid)

    Initializes a new instance of the UserTwoFactorRequestedNotification class.

    Declaration
    public UserTwoFactorRequestedNotification(Guid userKey)
    Parameters
    Type Name Description
    Guid userKey

    The unique key of the user requesting two-factor authentication.

    Properties

    View Source

    UserKey

    Gets the unique key of the user requesting two-factor authentication.

    Declaration
    public Guid UserKey { get; }
    Property Value
    Type Description
    Guid
    • View Source
    In this article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX