AccountSetupServiceCollectionExtensions.AddAccountSetup method
Adds AccountSetupFilter to the global filters, which keeps a user who must still set up the account to the page that does it, and PasswordChangeRequirement, which requires the users whose definitions say so to change their password. Other requirements, e.g. the one of two-factor authentication, are added as IAccountSetupRequirements. It can be called more than once.
public static IServiceCollection AddAccountSetup(this IServiceCollection collection)
| parameter | description |
|---|---|
| collection | The service collection. |