Authentication Middleware is the function called when one wants to make sure that the user is properly authenticated. If the user is not authenticated, they will be redirected to the login page. Once the login is complete, the user continues where they left off.
This also sets req information such as jaUserInfo and tokenCode for future usage if needed.
Callback Middleware is the function that will handle the token verification during the callback. This will also set the cookie with the Bearer token (aka code).
The initialised JA Malta Issuer
If the redirection cookie will be used.
Which uri to use. @see JAMaltaIssuer.verifyToken.
Generated using TypeDoc
Store the issuer options in case there is anything custom