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 TypeMethodDescriptionboolean
authenticateRequest
(io.javalin.http.Context context) where authentication for a route occurs, before the route is served.
-
Method Details
-
authenticateRequest
where authentication for a route occurs, before the route is served.- Returns:
- true if request is authenticated; else false
- Throws:
QException
-