Skip to content

AccountSetupServiceCollectionExtensions class

namespace: Serenity.Extensions.DependencyInjection   assembly: Serenity.Extensions

Contains extensions to register what users must do before using the application.

public static class AccountSetupServiceCollectionExtensions

Public Members

name description
static AddAccountSetup(…) 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.

See Also