Annotation Interface OidcLoginAuthenticationSource


@Target({ANNOTATION_TYPE,METHOD}) @Retention(RUNTIME) @ArgumentsSource(AuthenticationProvider.class) public @interface OidcLoginAuthenticationSource

Define the different OAuth2AuthenticationToken instances to run each of JUnit 5 @ParameterizedTest with.

Usage:
 @OidcLoginAuthenticationSource({ @WithOidcLogin("NICE"), @WithOidcLogin("VERY_NICE") })
 void test(@ParameterizedOidcLogin OAuth2AuthenticationToken auth) throws Exception {
     ...
 }
 
Since:
6.1.12
Author:
Jerome Wacongne ch4mp@c4-soft.com
See Also: