/// <inheritdoc />
 public override TokenCredential CreateCredential(IConfiguration configuration)
 {
     return(ClientFactory.CreateCredential(configuration) ?? _globalOptions.CurrentValue.CredentialFactory(_serviceProvider));
 }