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>, INotificationHandler
Constructors
View SourceDeleteTwoFactorLoginsOnMemberDeletedHandler(ITwoFactorLoginService)
Initializes a new instance of the DeleteTwoFactorLoginsOnMemberDeletedHandler class.
Declaration
public DeleteTwoFactorLoginsOnMemberDeletedHandler(ITwoFactorLoginService twoFactorLoginService)
Parameters
Type | Name | Description |
---|---|---|
ITwoFactorLoginService | twoFactorLoginService |
Methods
View SourceHandleAsync(MemberDeletedNotification, CancellationToken)
Declaration
public async Task HandleAsync(MemberDeletedNotification notification, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
MemberDeletedNotification | notification | |
CancellationToken | cancellationToken |
Returns
Type | Description |
---|---|
Task |