Download the PHP package lahaxearnaud/laravel-u2f without Composer
On this page you can find all versions of the php package lahaxearnaud/laravel-u2f. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download lahaxearnaud/laravel-u2f
More information about lahaxearnaud/laravel-u2f
Files in lahaxearnaud/laravel-u2f
Package laravel-u2f
Short Description U2F support for laravel 6
License MIT
Homepage https://github.com/lahaxearnaud/laravel-u2f
Informations about the package laravel-u2f
laravel-u2f
This PSR4 package provide u2f protocol integration in laravel 6 framework.
Requirements
- A top level domain
- HTTPS
- PHP >= 7.2 (If you want to use this package with php 5 you need to use the version v1.1.0)
Install
Via Composer
Laravel 5.5+ uses Package Auto-Discovery, so doesn't require you to manually add the ServiceProvider.
Configs
Assets
Views
Note that default views use Laravel's default Bootstrap 4. If you don't use it, you have to update the views.
Migrations
Middleware
In the app/Http/Kernel.php file
Usage
A example project is available to help you with the configuration / usage.
Middleware
In the route.php file add the u2f middleware on your routes or groups:
In controller:
Configuration
Events
-
Name:
u2f.authentication
Payload:
[ 'u2fKey' => $key, 'user' => Auth::user() ]
Description: An user authenticate himself with a valid u2f key
-
Name:
u2f.register
Payload
[ 'u2fKey' => $key, 'user' => Auth::user() ]
Description: An user register a new u2f key
Changelog
Please see CHANGELOG for more information what has changed recently.
Security
If you discover any security related issues, please email lahaxe[dot]arnaud[at]gmail[dot]com instead of using the issue tracker.
Credits
- Arnaud LAHAXE
- Mike Robinson
- Chakphanu Komasathit
- Anne Jan Brouwer
- Alexis Saettler
- Thomas Lété
- Luca Bognolo
License
The MIT License (MIT). Please see License File for more information.
After coding
What better way to relax, after spending hours coding, than a good cocktail on the terrace?
All versions of laravel-u2f with dependencies
laravel/framework Version ^6.0
illuminate/auth Version ^6.0
illuminate/config Version ^6.0
illuminate/container Version ^6.0
illuminate/events Version ^6.0
illuminate/database Version ^6.0
illuminate/session Version ^6.0
illuminate/routing Version ^6.0
illuminate/http Version ^6.0
illuminate/contracts Version ^6.0
illuminate/view Version ^6.0
illuminate/translation Version ^6.0
yubico/u2flib-server Version 1.0.2