예제 #1
0
        public bool Equals(AppTenant other)
        {
            if (other == null)
            {
                return(false);
            }

            return(other.Name.Equals(Id));
        }
예제 #2
0
        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;
 }