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
    System.Object
    Namespace: Umbraco.Cms.Infrastructure.Security
    Assembly: Umbraco.Infrastructure.dll
    Syntax
    public class DeleteTwoFactorLoginsOnMemberDeletedHandler : INotificationAsyncHandler<MemberDeletedNotification>

    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)

    Declaration
    public async Task HandleAsync(MemberDeletedNotification notification, CancellationToken cancellationToken)
    Parameters
    Type Name Description
    MemberDeletedNotification notification
    CancellationToken cancellationToken
    Returns
    Type Description
    Task
    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX