← Back to JWT Auth API Support
oliver63178
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.
vdomah
check if user is not null https://github.com/tymondesigns/jwt-auth/blob/develop/src/JWTAuth.php#L84
1-2 of 2