Interface RouteAuthenticatorInterface

All Known Implementing Classes:
SimpleRouteAuthenticator

public interface RouteAuthenticatorInterface
interface used by QJavalinRouteProviderInterface subclasses, to interact with QQQ Authentication modules, to provide authentication to custom javalin routes.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    authenticateRequest(io.javalin.http.Context context)
    where authentication for a route occurs, before the route is served.
  • Method Details

    • authenticateRequest

      boolean authenticateRequest(io.javalin.http.Context context) throws QException
      where authentication for a route occurs, before the route is served.
      Returns:
      true if request is authenticated; else false
      Throws:
      QException