Ejemplo n.º 1
0
        public bool Equals(AppTenant other)
        {
            if (other == null)
            {
                return(false);
            }

            return(other.Name.Equals(Id));
        }
        public AppTenantAuthSettingsResolver(AppTenant tenant)
        {
            this.tenant = tenant;

            authSettings = new SimpleAuthSettings();
            authSettings.AuthenticationScheme   = tenant.AuthenticationScheme;
            authSettings.RecaptchaPrivateKey    = tenant.RecaptchaPrivateKey;
            authSettings.RecaptchaPublicKey     = tenant.RecaptchaPublicKey;
            authSettings.EnablePasswordHasherUi = tenant.EnablePasswordHasherUi;
        }
Ejemplo n.º 3
0
 public AppTenantUserLookupProvider(AppTenant tenant)
 {
     this.tenant = tenant;
 }