Class UserWebhookAuthResource

java.lang.Object
ch.rswk.meta.engine.rs.UserWebhookAuthResource

@Path("webhookauth") public class UserWebhookAuthResource extends Object
UserWebhookAuthResource provides a REST-like API to receive webhook authentication OTPs.

Delegates to UserService.verifyWebhookAuth(String, String).

  • Field Details

    • LOG

      private static final org.slf4j.Logger LOG
    • userService

      private final UserService userService
  • Constructor Details

    • UserWebhookAuthResource

      @Inject public UserWebhookAuthResource(UserService userService)
  • Method Details

    • verifyWebhookAuth

      @Path("/{authRef}") @POST public jakarta.ws.rs.core.Response verifyWebhookAuth(@PathParam("authRef") String authRef, @QueryParam("otp") String otp)