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.
@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:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Optional Element Summary
Optional Elements
-
Element Details
-
value
WithOidcLogin[] value- Default:
- {}
-