team / teamauth-laravel
Laravel Auth Client for TeamId Authentication
2.0.0
2020-10-29 21:37 UTC
Requires
- php: >=7.2.0
- laravel/framework: 8.*
- team/teamauth: ^1.0
README
To install with Composer, simply require the latest version of this package.
composer require team/teamauth-laravel
In config/app.php set app_id
or app_unit_id
'team_app_id' => env('APP_TEAM_APP_ID',id)
Set default Auth driver on config/auth.php
'providers' => [
'users' => [
'driver' => 'team_id',
'model' => TeamAuth\Laravel\TeamUser::class,
],
],
Required: Laravel 9.x