private async Task<AuthenticationContext> CreateAuthenticationContext(ClaimsPrincipal claimsPrincipal) { Guard.ArgumentNotNull(claimsPrincipal, nameof(claimsPrincipal)); return new AuthenticationContext( Constants.AuthEndpointPrefix + claimsPrincipal.GetTenantIdValue(), await _tokenCacheService.GetCacheAsync(claimsPrincipal) .ConfigureAwait(false)); }