public bool Equals(AppTenant other)
        {
            if (other == null)
            {
                return(false);
            }

            return(other.Name.Equals(Id));
        }
        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;
        }
 public AppTenantUserLookupProvider(AppTenant tenant)
 {
     this.tenant = tenant;
 }
 public AppTenantUserLookupProvider(AppTenant tenant)
 {
     this.tenant = tenant;
 }