Annotation Interface OidcWireMock


@Retention(RUNTIME) @Target(FIELD) public @interface OidcWireMock
Used to specify that the field should be injected with the WireMockServer server that provides mock HTTP API for OIDC clients.

Note: for this injection to work the test must use OidcWiremockTestResource.

The main purpose of injecting the WireMockServer is for tests to be able to mock extra URLs not covered by OidcWiremockTestResource.