Package Data | |
---|---|
Maintainer Username: | lukepolo |
Maintainer Contact: | Luke@LukePOLO.com (Luke Policinski) |
Package Create Date: | 2017-08-24 |
Package Last Update: | 2019-12-04 |
Language: | PHP |
License: | MIT |
Last Refreshed: | 2024-11-23 03:06:18 |
Package Statistics | |
---|---|
Total Downloads: | 192 |
Monthly Downloads: | 0 |
Daily Downloads: | 0 |
Total Stars: | 3 |
Total Watchers: | 2 |
Total Forks: | 3 |
Total Open Issues: | 0 |
Quickly allows you to create one time personal access tokens, that are revoked after one use.
Laravel | Laravel One Time Token :---------|:---------- 5.4+ | ^0.0.3
Install the package through Composer. Edit your project's composer.json
file by adding:
{
"require": {
........,
"lukepolo/laravel-passport-one-time-token": "^0.0.3"
}
}
If using 5.4 you will need to include the service providers / facade in app/config/app.php
:
LukePOLO\LaravelPassportOneTimeToken\ServiceProvider::class,
Copy over the configuration file by running the command:
php artisan vendor:publish --provider='LukePOLO\LaravelPassportOneTimeToken\ServiceProvider'
Out of the box we provided some defaults to get you started.
auth:api
.Make a post to
oauth/one-time/create
This will send back your token , which you can use to make another request. Once used it will be revoked.
MIT