public JwtAssertionFactoryTests()
 {
     _tokenEndpointUrl = "https://authorizationserver.test/oauth2/token";
     _clientId = "test_client";
     _certificate = TestCertificate.Load();
     _factory = new JwtAssertionFactory(new TokenClientOptions()
     {
         TokenEndpointUrl = _tokenEndpointUrl,
         ClientId = _clientId,
         Certificate = _certificate
     });
 }
 public PrivateKeyJwtClientCredentialsTokenClient(TokenClientOptions options)
 {
     _jwtAssertionFactory = new JwtAssertionFactory(options);
     _tokenEndpointUrl = options.TokenEndpointUrl;
     _clientId = options.ClientId;
 }