trano/tranobearerauthbundle

Trano Bearer Auth Bundle

1.0.6 2022-04-07 18:31 UTC

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 class
  • Trano\BearerAuthBundle\Security\BearerTokenAuthenticator class
  • Trano\BearerAuthBundle\Security\BearerUserProvider class
  • Trano\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.