Recommended Practices for Implementing Authoriser Middleware in HttpServer Applications
What is the recommended way to use an authoriser middleware when using a HttpServer over the entire application or at least at the router level? I could not find good examples in the docs and once looked at the implementation of the loggel middleware I can see that it is using
Context.unsafeGet
Context.unsafeGet
which does sound like something I'm not really supposed to do