/// <summary>Initializes a new instance of the <see cref="AttestationClientOptions"/>.</summary>
        public AttestationClientOptions(
            ServiceVersion version = ServiceVersion.V2020_10_01,
            AttestationTokenValidationOptions tokenOptions = default
            )
        {
            if (version == default)
            {
                throw new ArgumentException("The service version {version} is not supported by this library");
            }

            Version = version switch
            {
                ServiceVersion.V2020_10_01 => "2020-10-01",
                _ => throw new ArgumentException($"The service version {version} is not supported by this library.", nameof(version))
            };

            // If the caller specified that they have token validation options, use them, otherwise
            // use the defaults.
            TokenOptions = tokenOptions != null?tokenOptions.Clone() :  new AttestationTokenValidationOptions();
        }