public InMemoryTokenManager(ITokenRetriever tokenRetriever, ICredentialProvider credentialProvider)
        {
            _tokenRetriever = tokenRetriever;
            _credential     = credentialProvider.GenerateCredential();

            _memoryTokens = new ConcurrentDictionary <ApplicationCredential, ApplicationToken>();
        }
 public InMemoryTokenManager(ITokenRetriever tokenRetriever, ICredentialProvider credentialProvider)
 {
     _tokenRetriever = tokenRetriever;
     _credential = credentialProvider.GenerateCredential();
     
     _memoryTokens = new ConcurrentDictionary<ApplicationCredential, ApplicationToken>();
 }