Skip to content

Commit

Permalink
test: implemented sig/alg tests
Browse files Browse the repository at this point in the history
  • Loading branch information
rglauco committed Oct 24, 2023
1 parent 2f2545a commit 5eef53d
Showing 1 changed file with 22 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -313,6 +313,28 @@ public void testClass1() {
assertTrue(res.getProviders(OIDCProfile.SPID).size() == 2);
assertTrue(res.getProviders(OIDCProfile.CIE).size() == 2);
assertTrue(res.getProviders(null).size() == 0);

//signing and encryption algorithms
res.setTokenEndpointAuthMethod("test");

assertEquals("test", res.getTokenEndpointAuthMethod());


res.setUserinfoEncryptedResponseEnc("test");

assertEquals("test", res.getTokenEndpointAuthMethod());

res.setUserinfoSignedResponseAlg("test");

assertEquals("test", res.getUserinfoSignedResponseAlg());

res.setUserinfoEncryptedResponseAlg("test");

assertEquals("test", res.getUserinfoEncryptedResponseAlg());

res.setIdTokenSignedResponseAlg("test");

assertEquals("test", res.getIdTokenSignedResponseAlg());
}

@Test
Expand Down

0 comments on commit 5eef53d

Please sign in to comment.