public PrivateKeyJwtSecretValidation()
        {
            _validator = new PrivateKeyJwtSecretValidator(
                new TestIssuerNameService("https://idsrv3.com"),
                new DefaultReplayCache(new TestCache()),
                new LoggerFactory().CreateLogger <PrivateKeyJwtSecretValidator>());

            _clients = new InMemoryClientStore(ClientValidationTestClients.Get());
        }
 public PrivateKeyJwtSecretValidation()
 {
     _validator = new PrivateKeyJwtSecretValidator(
         new IdentityServerOptions()
     {
         DynamicallyCalculatedIssuerUri = "https://idsrv3.com"
     }
         );
     _clients = new InMemoryClientStore(ClientValidationTestClients.Get());
 }
 public PrivateKeyJwtSecretValidation()
 {
     _validator = new PrivateKeyJwtSecretValidator(
         new MockHttpContextAccessor(
             new IdentityServerOptions()
     {
         IssuerUri = "https://idsrv3.com"
     }
             ),
         new LoggerFactory().CreateLogger <PrivateKeyJwtSecretValidator>()
         );
     _clients = new InMemoryClientStore(ClientValidationTestClients.Get());
 }
Пример #4
0
 public PrivateKeyJwtSecretValidation()
 {
     _validator = new PrivateKeyJwtSecretValidator("https://idsrv3.com");
     _clients   = new InMemoryClientStore(ClientValidationTestClients.Get());
 }