how to restrict its endpoints with the middleware of adonis js 6 using the custom guard authentication with JWT?
I’m new to adonis js and I’m trying to create a middleware to restrict my endpoints. For my authentication I use custom auth guard (with JWT) documentation.