Browse Source
Remove `ISystemClock` because its obsoleted.
pull/17776/head
maliming
2 years ago
No known key found for this signature in database
GPG Key ID: A646B9CB645ECEA4
1 changed files with
1 additions and
3 deletions
-
modules/identity/src/Volo.Abp.Identity.AspNetCore/Volo/Abp/Identity/AspNetCore/AbpSecurityStampValidator.cs
|
|
|
@ -18,14 +18,12 @@ public class AbpSecurityStampValidator : SecurityStampValidator<IdentityUser> |
|
|
|
public AbpSecurityStampValidator( |
|
|
|
IOptions<SecurityStampValidatorOptions> options, |
|
|
|
SignInManager<IdentityUser> signInManager, |
|
|
|
ISystemClock systemClock, |
|
|
|
ILoggerFactory loggerFactory, |
|
|
|
ITenantConfigurationProvider tenantConfigurationProvider, |
|
|
|
ICurrentTenant currentTenant) |
|
|
|
: base( |
|
|
|
options, |
|
|
|
signInManager, |
|
|
|
systemClock, |
|
|
|
loggerFactory) |
|
|
|
{ |
|
|
|
TenantConfigurationProvider = tenantConfigurationProvider; |
|
|
|
@ -33,7 +31,7 @@ public class AbpSecurityStampValidator : SecurityStampValidator<IdentityUser> |
|
|
|
} |
|
|
|
|
|
|
|
[UnitOfWork] |
|
|
|
public override async Task ValidateAsync(CookieValidatePrincipalContext context) |
|
|
|
public async override Task ValidateAsync(CookieValidatePrincipalContext context) |
|
|
|
{ |
|
|
|
TenantConfiguration tenant = null; |
|
|
|
try |
|
|
|
|