Authorization: Pre-shared bearer tokens #2
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Database
The database needs to be able to hold the token.
Artisan Command
Base command:
php artisan chaosbot:tokensThis will open a select menu for
list,create,revoke.Middleware
Checks the
Authorizationheader. If the header is not present, return a 401 Unauthorized. If the header is present but there is no match in the database, return a 403 Forbidden. Otherwise proceed as planned.