public AuthorizationTokenProviderTokenCredential( TokenCredential tokenCredential, string accountEndpointHost, TimeSpan?backgroundTokenCredentialRefreshInterval) { this.tokenCredentialCache = new TokenCredentialCache( tokenCredential, accountEndpointHost, backgroundTokenCredentialRefreshInterval); }
public AuthorizationTokenProviderTokenCredential( TokenCredential tokenCredential, Uri accountEndpoint, TimeSpan requestTimeout, TimeSpan?backgroundTokenCredentialRefreshInterval) { this.tokenCredentialCache = new TokenCredentialCache( tokenCredential: tokenCredential, accountEndpoint: accountEndpoint, requestTimeout: requestTimeout, backgroundTokenCredentialRefreshInterval: backgroundTokenCredentialRefreshInterval); }