Метод | Описание | |
---|---|---|
DistributedTokenCacheService ( IDistributedCache distributedCache, IHttpContextAccessor contextAccessor, ILoggerFactory loggerFactory, IDataProtectionProvider dataProtectionProvider ) : System |
Initializes a new instance of Tailspin.Surveys.TokenStorage.DistributedTokenCacheService
|
|
GetCacheAsync ( |
Returns an instance of Microsoft.IdentityModel.Clients.ActiveDirectory.TokenCache.
|
public DistributedTokenCacheService ( IDistributedCache distributedCache, IHttpContextAccessor contextAccessor, ILoggerFactory loggerFactory, IDataProtectionProvider dataProtectionProvider ) : System | ||
distributedCache | IDistributedCache | |
contextAccessor | IHttpContextAccessor | An instance of |
loggerFactory | ILoggerFactory | |
dataProtectionProvider | IDataProtectionProvider | An |
Результат | System |
public GetCacheAsync ( |
||
claimsPrincipal | Current user's |
|
Результат | Task |