Laravel Sanctum
E452789
Laravel Sanctum is a lightweight authentication system for the Laravel framework that provides simple API token management and support for SPA and mobile authentication.
Statements (47)
| Predicate | Object |
|---|---|
| instanceOf |
Laravel package
ⓘ
PHP software library ⓘ authentication package ⓘ |
| aimsTo |
provide lightweight API authentication
ⓘ
simplify SPA authentication ⓘ |
| category |
API security
ⓘ
web authentication ⓘ |
| configuration | config/sanctum.php ⓘ |
| createdFor | Laravel framework NERFINISHED ⓘ |
| designedFor |
first-party SPAs
ⓘ
mobile API clients ⓘ simple token-based APIs ⓘ |
| developedBy | Laravel LLC NERFINISHED ⓘ |
| documentation | https://laravel.com/docs/sanctum ⓘ |
| ecosystem | Laravel ecosystem NERFINISHED ⓘ |
| integratesWith |
Laravel Eloquent models
ⓘ
Laravel authentication system NERFINISHED ⓘ Laravel middleware ⓘ Laravel routing NERFINISHED ⓘ |
| license | MIT License ⓘ |
| previousName | Laravel Airlock NERFINISHED ⓘ |
| programmingLanguage | PHP NERFINISHED ⓘ |
| provides |
API token authentication
ⓘ
SPA authentication ⓘ mobile authentication ⓘ session-based authentication ⓘ |
| replaces | Laravel Airlock NERFINISHED ⓘ |
| repository | https://github.com/laravel/sanctum ⓘ |
| requires | Laravel framework NERFINISHED ⓘ |
| storesTokensIn | personal_access_tokens table ⓘ |
| supports |
CSRF protection for SPAs
ⓘ
mobile applications ⓘ multiple authentication guards ⓘ per-token permissions ⓘ personal access tokens ⓘ simple API token management ⓘ single page applications ⓘ stateful authentication ⓘ stateless authentication ⓘ token abilities ⓘ token expiration ⓘ token revocation ⓘ |
| tokenType | personal access token ⓘ |
| uses |
Laravel middleware for authentication
ⓘ
cookie-based session authentication for SPAs ⓘ database-backed personal access tokens ⓘ hashed tokens in database ⓘ |
Referenced by (1)
Full triples — surface form annotated when it differs from this entity's canonical label.