Search Results for

    Show / Hide Table of Contents
    View Source

    Class DeleteTwoFactorLoginsOnMemberDeletedHandler

    Deletes the two factor for the deleted members. This cannot be handled by the database as there is not foreign keys.

    Inheritance
    object
    Namespace: Umbraco.Cms.Infrastructure.Security
    Assembly: Umbraco.Infrastructure.dll
    Syntax
    public class DeleteTwoFactorLoginsOnMemberDeletedHandler : INotificationAsyncHandler<MemberDeletedNotification>, INotificationHandler

    Constructors

    View Source

    DeleteTwoFactorLoginsOnMemberDeletedHandler(ITwoFactorLoginService)

    Initializes a new instance of the DeleteTwoFactorLoginsOnMemberDeletedHandler class.

    Declaration
    public DeleteTwoFactorLoginsOnMemberDeletedHandler(ITwoFactorLoginService twoFactorLoginService)
    Parameters
    Type Name Description
    ITwoFactorLoginService twoFactorLoginService

    Methods

    View Source

    HandleAsync(MemberDeletedNotification, CancellationToken)

    Handles a notification.

    Declaration
    public Task HandleAsync(MemberDeletedNotification notification, CancellationToken cancellationToken)
    Parameters
    Type Name Description
    MemberDeletedNotification notification

    The notification.

    CancellationToken cancellationToken

    The cancellation token.

    Returns
    Type Description
    Task

    A System.Threading.Tasks.Task representing the asynchronous operation.

    • Edit this page
    • View Source
    In this article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX