|
|
@ -18,14 +18,12 @@ public class AbpSecurityStampValidator : SecurityStampValidator<IdentityUser> |
|
|
public AbpSecurityStampValidator( |
|
|
public AbpSecurityStampValidator( |
|
|
IOptions<SecurityStampValidatorOptions> options, |
|
|
IOptions<SecurityStampValidatorOptions> options, |
|
|
SignInManager<IdentityUser> signInManager, |
|
|
SignInManager<IdentityUser> signInManager, |
|
|
ISystemClock systemClock, |
|
|
|
|
|
ILoggerFactory loggerFactory, |
|
|
ILoggerFactory loggerFactory, |
|
|
ITenantConfigurationProvider tenantConfigurationProvider, |
|
|
ITenantConfigurationProvider tenantConfigurationProvider, |
|
|
ICurrentTenant currentTenant) |
|
|
ICurrentTenant currentTenant) |
|
|
: base( |
|
|
: base( |
|
|
options, |
|
|
options, |
|
|
signInManager, |
|
|
signInManager, |
|
|
systemClock, |
|
|
|
|
|
loggerFactory) |
|
|
loggerFactory) |
|
|
{ |
|
|
{ |
|
|
TenantConfigurationProvider = tenantConfigurationProvider; |
|
|
TenantConfigurationProvider = tenantConfigurationProvider; |
|
|
@ -33,7 +31,7 @@ public class AbpSecurityStampValidator : SecurityStampValidator<IdentityUser> |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
[UnitOfWork] |
|
|
[UnitOfWork] |
|
|
public override async Task ValidateAsync(CookieValidatePrincipalContext context) |
|
|
public async override Task ValidateAsync(CookieValidatePrincipalContext context) |
|
|
{ |
|
|
{ |
|
|
TenantConfiguration tenant = null; |
|
|
TenantConfiguration tenant = null; |
|
|
try |
|
|
try |
|
|
|