コード例 #1
0
        public PrivateKeyJwtSecretValidation()
        {
            _validator = new PrivateKeyJwtSecretValidator(
                new TestIssuerNameService("https://idsrv3.com"),
                new DefaultReplayCache(new TestCache()),
                new LoggerFactory().CreateLogger <PrivateKeyJwtSecretValidator>());

            _clients = new InMemoryClientStore(ClientValidationTestClients.Get());
        }
コード例 #2
0
 public PrivateKeyJwtSecretValidation()
 {
     _validator = new PrivateKeyJwtSecretValidator(
         new IdentityServerOptions()
     {
         DynamicallyCalculatedIssuerUri = "https://idsrv3.com"
     }
         );
     _clients = new InMemoryClientStore(ClientValidationTestClients.Get());
 }
コード例 #3
0
 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());
 }