Example #1
0
        public Startup(IHostingEnvironment env)
        {
            var simpleIdServerModule = new SimpleIdentityServerHostModule();
            var shellModule          = new ShellModule();
            var loginPasswordModule  = new LoginPasswordModule();
            var smsModule            = new SmsModule();
            var userManagementModule = new UserManagementModule();

            simpleIdServerModule.Init(null);
            shellModule.Init(null);
            loginPasswordModule.Init(new Dictionary <string, string>
            {
                { "IsEditCredentialEnabled", "true" }
            });
            smsModule.Init(new Dictionary <string, string>
            {
                { "IsSelfProvisioningEnabled", "true" }
            });
            userManagementModule.Init(new Dictionary <string, string>
            {
                { "CanUpdateTwoFactorAuthentication", "true" }
            });
        }