public MultiTenantAuthCookieValidator(
     ISiteResolver siteResolver,
     ISecurityStampValidator securityStampValidator,
     ILogger<MultiTenantAuthCookieValidator> logger
     )
 {
     this.securityStampValidator = securityStampValidator;
     this.siteResolver = siteResolver;
     log = logger;
 }
예제 #2
0
 public SiteAuthCookieValidator(
     IHttpContextAccessor contextAccessor,
     // ITenantResolver<SiteSettings> siteResolver,
     ISecurityStampValidator securityStampValidator,
     ILogger <SiteAuthCookieValidator> logger)
 {
     this.contextAccessor        = contextAccessor;
     this.securityStampValidator = securityStampValidator;
     // this.siteResolver = siteResolver;
     log = logger;
 }
 public MultiTenantAuthCookieValidator(
     IHttpContextAccessor contextAccessor,
     ITenantResolver<SiteSettings> siteResolver,
     ISecurityStampValidator securityStampValidator,
     ILogger<MultiTenantAuthCookieValidator> logger
     )
 {
     this.contextAccessor = contextAccessor;
     this.securityStampValidator = securityStampValidator;
     this.siteResolver = siteResolver;
     log = logger;
 }