Annotation Interface JwtAuthenticationSource
@Target({ANNOTATION_TYPE,METHOD})
@Retention(RUNTIME)
@ArgumentsSource(AuthenticationProvider.class)
public @interface JwtAuthenticationSource
Deprecated.
Define the different JwtAuthenticationToken instances to run each of JUnit 5 @ParameterizedTest with.
@JwtAuthenticationSource({ @WithMockJwtAuth("NICE"), @WithMockJwtAuth("VERY_NICE") })
void test(@ParameterizedJwtAuth JwtAuthenticationToken auth) throws Exception {
...
}
- Author:
- Jerome Wacongne ch4mp@c4-soft.com
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classDeprecated. -
Optional Element Summary
Optional Elements
-
Element Details
-
value
WithMockJwtAuth[] valueDeprecated.- Default:
- {}
-
@MethodSourcein association with@ParameterizedAuthenticationandWithJwt.AuthenticationFactory