trano / tranobearerauthbundle
Trano Bearer Auth Bundle
Installs: 361
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:symfony-bundle
Requires
- php: ^7.2|^8.0
- symfony/security-bundle: ^4.3|^5.0||^6.0
This package is auto-updated.
Last update: 2024-05-07 22:54:02 UTC
README
This bundle provides base classes for Bearer Token Authentication. It includes:
Trano\BearerAuthBundle\Entity\BearerUser
classTrano\BearerAuthBundle\Security\BearerTokenAuthenticator
classTrano\BearerAuthBundle\Security\BearerUserProvider
classTrano\BearerAuthBundle\Security\BearerAccessDeniedHandler
class
Installation
Install with composer using
composer require trano/tranobearerauthbundle
Usage
-
Create a custom Authenticator class (App\Security\CustomAuthenticator) that inherits ` from
Trano\BearerAuthBundle\Security\BearerTokenAuthenticator
class. -
Update security.yaml file and set security configurations (firewalls) using the classes provided by this bundle.
License
This bundle is under the MIT license. See the complete license in the bundle.
About us
ABSUtilsBundle is an initiative of atety.