team/teamauth-laravel

Laravel Auth Client for TeamId Authentication

2.0.0 2020-10-29 21:37 UTC

This package is auto-updated.

Last update: 2024-04-04 21:59:42 UTC


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