2017 © Pedro Peláez
 

library laravel-u2f

U2F support for laravel 5 (forked from lahaxearnaud/laravel-u2f)

image

certly/laravel-u2f

U2F support for laravel 5 (forked from lahaxearnaud/laravel-u2f)

  • Friday, December 25, 2015
  • by iangcarroll
  • Repository
  • 2 Watchers
  • 9 Stars
  • 337 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 14 Forks
  • 1 Open issues
  • 16 Versions
  • 0 % Grown

The README.md

laravel-u2f

Code Climate Build Status, (*1)

Integrate FIDO U2F into Laravel 5.x applications. You'll need to be accessing your application from an App ID compliant domain; localhost support is finicky., (*2)

Install

``` bash composer require certly/laravel-u2f, (*3)


In `config/app.php`, add the provider `Certly\U2f\LaravelU2fServiceProvider::class` to the providers array and `'U2f' => Certly\U2f\U2fServiceFacade::class` to the aliases array. ### Publishing This will copy the needed resources (views, CSS, and JavaScript) to your project so you can modify them. ``` bash php artisan vendor:publish --provider="Certly\U2f\U2fServiceProvider" php artisan migrate

You can add the following to your mix.scripts call if you're using Elixir to automatically include the needed JavaScript in your central JavaScript file., (*4)

``` javascript elixir(function(mix) { mix.scripts([ // ... 'u2f/app.js', 'u2f/u2f.js',, (*5)


The included views assume there is an `app` view. If this isn't the case, you'll need to manually modify the views in the `u2f` folder (under `resources/views`). ### Middleware In the `app/Http/Kernel.php` file, add the following to `$routeMiddleware`. This middleware is called internally by the package, so it is important that it is present. ``` php protected $routeMiddleware = [ // ... 'u2f' => Certly\U2f\Http\Middleware\U2f::class, ];

Usage

Middleware

php Route::get('admin/profile', ['middleware' => ['auth', 'u2f'], function () { // }]);, (*6)

Configuration

config/u2f.php is commented and will be created when you publish the provider via the above command., (*7)

Security

Security issues can be reported via HackerOne or via email at ian@certly.io., (*8)

Credits

License

MIT, (*9)

The Versions

25/12 2015

dev-master

9999999-dev https://github.com/certly/laravel-u2f

U2F support for laravel 5 (forked from lahaxearnaud/laravel-u2f)

  Sources   Download

MIT

The Requires

 

security otp u2f

10/12 2015

v1.6

1.6.0.0 https://github.com/certly/laravel-u2f

U2F support for laravel 5 (forked from lahaxearnaud/laravel-u2f)

  Sources   Download

MIT

The Requires

 

security otp u2f

26/10 2015

v1.5

1.5.0.0 https://github.com/certly/laravel-u2f

U2F support for laravel 5 (forked from lahaxearnaud/laravel-u2f)

  Sources   Download

MIT

The Requires

 

security otp u2f

26/10 2015

v1.4

1.4.0.0 https://github.com/certly/laravel-u2f

U2F support for laravel 5 (forked from lahaxearnaud/laravel-u2f)

  Sources   Download

MIT

The Requires

 

security otp u2f

26/10 2015

v1.3

1.3.0.0 https://github.com/certly/laravel-u2f

U2F support for laravel 5 (forked from lahaxearnaud/laravel-u2f)

  Sources   Download

MIT

The Requires

 

security otp u2f

26/10 2015

v1.2

1.2.0.0 https://github.com/certly/laravel-u2f

U2F support for laravel 5 (forked from lahaxearnaud/laravel-u2f)

  Sources   Download

MIT

The Requires

 

security otp u2f

26/10 2015

v1.1

1.1.0.0 https://github.com/certly/laravel-u2f

U2F support for laravel 5 (forked from lahaxearnaud/laravel-u2f)

  Sources   Download

MIT

The Requires

 

security otp u2f

26/10 2015

v1.0

1.0.0.0 https://github.com/certly/laravel-u2f

U2F support for laravel 5 (forked from lahaxearnaud/laravel-u2f)

  Sources   Download

MIT

The Requires

 

security otp u2f

25/10 2015

v0.7

0.7.0.0 https://github.com/certly/laravel-u2f

U2F support for laravel 5 (forked from lahaxearnaud/laravel-u2f)

  Sources   Download

MIT

The Requires

 

security otp u2f

25/10 2015

v0.6

0.6.0.0 https://github.com/certly/laravel-u2f

U2F support for laravel 5 (forked from lahaxearnaud/laravel-u2f)

  Sources   Download

MIT

The Requires

 

security otp u2f

25/10 2015

v0.5

0.5.0.0 https://github.com/certly/laravel-u2f

U2F support for laravel 5 (forked from lahaxearnaud/laravel-u2f)

  Sources   Download

MIT

The Requires

 

security otp u2f

21/05 2015

v0.4

0.4.0.0 https://github.com/lahaxearnaud/laravel-u2f

U2F support for laravel 5

  Sources   Download

MIT

The Requires

 

security otp u2f

21/05 2015

v0.3

0.3.0.0 https://github.com/lahaxearnaud/laravel-u2f

U2F support for laravel 5

  Sources   Download

MIT

The Requires

 

security otp u2f

21/05 2015

v0.2

0.2.0.0 https://github.com/lahaxearnaud/laravel-u2f

U2F support for laravel 5

  Sources   Download

MIT

The Requires

 

security otp u2f

20/05 2015

v0.1.1

0.1.1.0 https://github.com/lahaxearnaud/laravel-u2f

U2F support for laravel 5

  Sources   Download

MIT

The Requires

 

security otp u2f

20/05 2015

v0.1.0

0.1.0.0 https://github.com/lahaxearnaud/laravel-u2f

U2F support for laravel 5

  Sources   Download

MIT

The Requires

 

security otp u2f