Apologies for asking a very newbie question. I would to know how do I validate if the user is logged in, since they will access my endpoint how do I check their token? Also like prevent them from accessing the functionality of endpoint if not yet logged in, something like that.
JWT Auth API
JSON Web Token Authentication for your OctoberCMS API integrated with RainLab.User
← Back to JWT Auth API Support
check if user is not null https://github.com/tymondesigns/jwt-auth/blob/develop/src/JWTAuth.php#L84
1-2 of 2