/// <summary>
 /// Initializes a new instance of the <see cref="SchemaRegistryClient"/>.
 /// </summary>
 public SchemaRegistryClient(string endpoint, TokenCredential credential, SchemaRegistryClientOptions options) : this(
         new ClientDiagnostics(options),
         HttpPipelineBuilder.Build(options, new BearerTokenAuthenticationPolicy(credential, CredentialScope)),
         endpoint,
         options.Version)
 {
 }
예제 #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="SchemaRegistryClient"/>.
 /// </summary>
 public SchemaRegistryClient(string fullyQualifiedNamespace, TokenCredential credential, SchemaRegistryClientOptions options) : this(
         new ClientDiagnostics(options),
         HttpPipelineBuilder.Build(options, new BearerTokenAuthenticationPolicy(credential, CredentialScope)),
         fullyQualifiedNamespace,
         options.Version)
 {
 }