Rest API Authentication without user access token

I want to implement bearer token on my API. I’ve followed the guide and it works but I 'm just wondering if there is a way to use the bearer token without the user table, just comparing the token with a variable.


Yes. could be implemented to use a simple array if needed.

I could finally do it. Thanks.