phuongna/onesk

1.0.3 2021-07-14 02:14 UTC

This package is auto-updated.

Last update: 2024-10-27 09:00:16 UTC


README

GitHub Workflow Status styleci

Packagist Packagist Packagist

Package description: CHANGE ME

Installation

Install via composer

composer require phuongna/onesk

Publish package assets

php artisan vendor:publish --provider="phuongna\onesk\ServiceProvider"

Usage

CHANGE ME

Security

If you discover any security related issues, please email instead of using the issue tracker.

Credits

This package is bootstrapped with the help of melihovv/laravel-package-generator.

  • install

  • php artisan vendor:publish

  • 'guards' => [ 'admin' => [ 'driver' => 'sso-jwt', 'provider' => 'users', ], 'customer' => [ 'driver' => 'sso-jwt', 'provider' => 'customers', ], ],

  • 'providers' => [ 'users' => [ 'driver' => 'sso', 'model' => \App\Models\User::class, ], 'customers' => [ 'driver' => 'sso', 'model' => \App\Models\Customer::class ], ],