View Source Guardian.DB.Token (Guardian.DB v3.0.0)
A very simple model for storing tokens generated by Guardian
.
Summary
Functions
Create a new token based on the JWT and decoded claims.
Find one token by matching jti and aud.
Purge any tokens that are expired. This should be done periodically to keep your DB table clean of clutter.
Functions
Create a new token based on the JWT and decoded claims.
Find one token by matching jti and aud.
Purge any tokens that are expired. This should be done periodically to keep your DB table clean of clutter.