public void Validate(ConfigurationOptionsValidator validateConfigurationOptions) { var required = validateConfigurationOptions?.Environment == Environments.Live; ConfigurationException.AssertThumbprint(Thumbprint, $"{nameof(AuthorizationRegistryClientOptions)}.{nameof(Thumbprint)}", required: required); ConfigurationException.AssertUri(BaseUri, $"{nameof(AuthorizationRegistryClientOptions)}.{nameof(BaseUri)}"); ConfigurationException.AssertNotNull(ClientId, $"{nameof(AuthorizationRegistryClientOptions)}.{nameof(ClientId)}"); }