Skip to main content

cartouche 0.1.2 copy "cartouche: ^0.1.2" to clipboard
cartouche: ^0.1.2 copied to clipboard

Issues, authenticates, and manages personal access tokens for Maat applications backed by Seshat.

Cartouche Tokens #

cartouche — Personal access tokens for Maat applications.

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.

0
likes
160
points
176
downloads

Documentation

API reference

Publisher

verified publishergaitco.com

Weekly Downloads

Issues, authenticates, and manages personal access tokens for Maat applications backed by Seshat.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

crypto, maat, seshat_maat

More

Packages that depend on cartouche