use of uk.gov.di.authentication.app.lambda.DocAppCallbackHandler in project di-authentication-api by alphagov.
the class DocAppCallbackHandlerIntegrationTest method setup.
@BeforeEach
void setup() throws JOSEException {
criStub.init(privateKey);
handler = new DocAppCallbackHandler(configurationService);
docAppSubjectId = new Subject(ClientSubjectHelper.calculatePairwiseIdentifier(new Subject().getValue(), "https://test.com", SaltHelper.generateNewSalt()));
clientStore.registerClient(CLIENT_ID, "test-client", singletonList(REDIRECT_URI), singletonList("contact@example.com"), singletonList("openid"), null, singletonList("http://localhost/post-redirect-logout"), "http://example.com", String.valueOf(ServiceType.MANDATORY), "https://test.com", "pairwise", true, ClientType.APP);
}
Aggregations