2017 © Pedro Peláez
 

library laravel-passport-one-time-token

Gives the ability to create one time tokens easily with Laravel Passport

image

lukepolo/laravel-passport-one-time-token

Gives the ability to create one time tokens easily with Laravel Passport

  • Friday, August 25, 2017
  • by lukepolo
  • Repository
  • 1 Watchers
  • 3 Stars
  • 139 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 6 Versions
  • 38 % Grown

The README.md

Laravel One Time Password

Quickly allows you to create one time personal access tokens, that are revoked after one use., (*1)

Laravel compatibility

Laravel Laravel One Time Token
5.4+ ^0.1.0

Installation

Install the package through Composer. Edit your project's composer.json file by adding:, (*2)

{
    "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:, (*3)

    LukePOLO\LaravelPassportOneTimeToken\ServiceProvider::class,

Copy over the configuration file by running the command:, (*4)

    php artisan vendor:publish --provider='LukePOLO\LaravelPassportOneTimeToken\ServiceProvider'

Requirements

Out of the box we provided some defaults to get you started., (*5)

  1. The user must be logged in
  2. Middleware
    • The default middleware assumes you are consuming this with auth:api.
    • You can change this in your config
  3. Created at least one Personal Token client.

Usage

Make a post to, (*6)

    oauth/one-time/create

This will send back your token, which you can use to make another request. Once used it will be revoked., (*7)

License

MIT, (*8)

The Versions

25/08 2017

dev-master

9999999-dev https://github.com/lukepolo/laravel-passport-one-time-token

Gives the ability to create one time tokens easily with Laravel Passport

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel passport one time token

25/08 2017

0.0.4

0.0.4.0 https://github.com/lukepolo/laravel-passport-one-time-token

Gives the ability to create one time tokens easily with Laravel Passport

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel passport one time token

25/08 2017

dev-lukepolo-patch-1

dev-lukepolo-patch-1 https://github.com/lukepolo/laravel-passport-one-time-token

Gives the ability to create one time tokens easily with Laravel Passport

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel passport one time token

24/08 2017

0.0.3

0.0.3.0 https://github.com/lukepolo/laravel-passport-one-time-token

Gives the ability to create one time tokens easily with Laravel Passport

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel passport one time token

24/08 2017

0.0.2

0.0.2.0 https://github.com/lukepolo/laravel-passport-one-time-token

  Sources   Download

MIT

The Requires

 

laravel passport one time token

24/08 2017

0.0.1

0.0.1.0 https://github.com/lukepolo/laravel-one-time-token

  Sources   Download

MIT

The Requires

 

laravel passport one time token