private CommunicationIdentityClient(Uri endpoint, CommunicationIdentityClientOptions options, TokenCredential tokenCredential)
 {
     _clientDiagnostics = new ClientDiagnostics(options);
     RestClient         = new CommunicationIdentityRestClient(
         _clientDiagnostics,
         options.BuildHttpPipeline(tokenCredential),
         endpoint.AbsoluteUri);
 }
 private CommunicationIdentityClient(CommunicationIdentityClientOptions options, ConnectionString connectionString)
 {
     _clientDiagnostics = new ClientDiagnostics(options);
     RestClient         = new CommunicationIdentityRestClient(
         _clientDiagnostics,
         options.BuildHttpPipeline(connectionString),
         connectionString.GetRequired("endpoint"));
 }
 private CommunicationIdentityClient(string endpoint, TokenCredential tokenCredential, CommunicationIdentityClientOptions options)
     : this(endpoint, options.BuildHttpPipeline(tokenCredential), options)
 {
 }
 private CommunicationIdentityClient(string endpoint, AzureKeyCredential keyCredential, CommunicationIdentityClientOptions options)
     : this(endpoint, options.BuildHttpPipeline(keyCredential), options)
 {
 }
 private CommunicationIdentityClient(ConnectionString connectionString, CommunicationIdentityClientOptions options)
     : this(connectionString.GetRequired("endpoint"), options.BuildHttpPipeline(connectionString), options)
 {
 }