public void ValidateConfiguration()
{
if (HostName.IsNullOrEmpty()) throw new ArgumentNullException("HostName cannot be null or empty.");
if (ClientID.IsNullOrEmpty()) throw new ArgumentNullException("ClientID cannot be null or empty.");
if (ClientSecret.IsNullOrEmpty()) throw new ArgumentNullException("ClientSecret cannot be null or empty.");
}