예제 #1
0
        public SiteAuthSettingsResolver(TenantSettings tenant)
        {
            this.tenant = tenant;

            authSettings = new SimpleAuthSettings()
            {
                AuthenticationScheme   = tenant.AuthenticationScheme,
                RecaptchaPrivateKey    = tenant.RecaptchaPrivateKey,
                RecaptchaPublicKey     = tenant.RecaptchaPublicKey,
                EnablePasswordHasherUi = tenant.EnablePasswordHasherUi
            };
        }
 public SiteUserLookupProvider(TenantSettings tenant)
 {
     this.tenant = tenant;
 }