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
Install with composer using
composer require trano/tranobearerauthbundle
-
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.
This bundle is under the MIT license. See the complete license in the bundle.
ABSUtilsBundle is an initiative of atety.