public async Task RefreshAllTokensAsync()
        {
            _logger.LogDebug("Refreshing all tokens...");

            try
            {
                await _installedAppManager.RefreshAllInstalledAppTokensAsync().ConfigureAwait(false);

                _logger.LogDebug("All tokens refreshed...");
            }
            catch (AggregateException ex)
            {
                _logger.LogError(ex, "Exception trying to refresh all tokens!");
            }
        }
Exemple #2
0
 public async Task IARefreshAllInstalledAppTokensAsync_ShouldNotError()
 {
     await _installedAppManager.RefreshAllInstalledAppTokensAsync();
 }