예제 #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;
        }
예제 #3
0
 public AppTenantUserLookupProvider(AppTenant tenant)
 {
     this.tenant = tenant;
 }