An effective stateless user authentication and authorization layer.
attla/authentic is a Laravel package for an effective stateless user authentication and authorization layer..
It currently has 0 GitHub stars and 19 downloads on Packagist.
Install it with composer require attla/authentic.
Discover more Laravel packages by attla
or browse all Laravel packages to compare alternatives.
Last updated
🆔 An effective serverless user authentication and authorization layer.
composer require attla/authentic
In ./config/auth.php on guards add the following array:
'guards' => [
// ...
'authentic' => [
'driver' => 'authentic',
'provider' => 'users',
],
],
If you want to configure the authentic as your default authentication guard set on defaults.guard as:
'defaults' => [
'guard' => 'authentic',
// ...
],
Your model needs implements Authenticatable contract:
use Illuminate\Contracts\Auth\Authenticatable;
class Example implements Authenticatable
{
// ...
}
Also in ./config/auth.php on guards add the following array:
'providers' => [
// ...
'dynamodb' => [
'driver' => 'dynamodb',
'model' => Model::class,
// 'gsi' => '',
],
],
This package is licensed under the MIT license © Zunq.