Cartouche Tokens
cartouche adds database-backed personal access tokens, abilities,
expiration, revocation, and test authentication to Maat applications.
class User extends Model<User>
with HasCartoucheTokens<User>
implements Authenticatable {}
Cartouche.provider('users', (id) => User.query().find(id));
See the Cartouche guide for installation and usage.
Libraries
- cartouche
- Personal access tokens for Maat applications.