AccountEventServiceCollectionExtensions.AddAccountEvents method
Adds AccountEventPublisher as the IAccountEventPublisher, and AccountEventEmailHandler, which emails the users when their account changes, e.g. the password, with the AccountEventEmailOptions that ConfigureSections reads. Other handlers can be added as IAccountEventHandlers.
public static IServiceCollection AddAccountEvents(this IServiceCollection collection)
| parameter | description |
|---|---|
| collection | The service collection. |