Annotation Interface EnableMockOAuth2Server


@Documented @Inherited @Retention(RUNTIME) @Target(TYPE) @Import({MockOAuth2ServerAutoConfiguration.class,MockLoginController.class}) @PropertyMapping("mock-oauth2-server") public @interface EnableMockOAuth2Server
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    int
    Specify port for server to run on (only works in test scope), provide via env property mock-ouath2-server.port outside of test scope
  • Element Details

    • port

      int port
      Specify port for server to run on (only works in test scope), provide via env property mock-ouath2-server.port outside of test scope
      Default:
      0