Annotation Interface OpenIdAuthenticationSource


@Target({ANNOTATION_TYPE,METHOD}) @Retention(RUNTIME) @ArgumentsSource(AuthenticationProvider.class) public @interface OpenIdAuthenticationSource
Deprecated.
use a @MethodSource in association with @ParameterizedAuthentication and WithJwt.AuthenticationFactory

Define the different OAuthentication<OpenidClaimSet> instances to run each of JUnit 5 @ParameterizedTest with.

Usage:
 @OpenIdAuthenticationSource({ @OpenId("NICE"), @OpenId("VERY_NICE") })
 void test(@ParameterizedOpenId OAuthentication<OpenidClaimSet> auth) throws Exception {
     ...
 }
 
Author:
Jerome Wacongne ch4mp@c4-soft.com
  • Element Details

    • value

      OpenId[] value
      Deprecated.
      Default:
      {}