Download the PHP package oxid-esales/session-authentication-component without Composer
On this page you can find all versions of the php package oxid-esales/session-authentication-component. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download oxid-esales/session-authentication-component
More information about oxid-esales/session-authentication-component
Files in oxid-esales/session-authentication-component
Download oxid-esales/session-authentication-component
More information about oxid-esales/session-authentication-component
Files in oxid-esales/session-authentication-component
Vendor oxid-esales
Package session-authentication-component
Short Description Session authentication component for OXID eShop
License proprietary
Package session-authentication-component
Short Description Session authentication component for OXID eShop
License proprietary
Please rate this library. Is it a good library?
Informations about the package session-authentication-component
OXID eShop Session Authentication Component
Provides session-based authentication for OXID eShop Symfony controllers. Controllers annotated with #[SessionUser] or #[AdminSessionUser] require an active OXID session cookie before the request is processed.
Note: Recommended for AJAX endpoints only. For stateless API access, use JWT authentication instead.
How it works
The component registers two Symfony kernel event subscribers:
SessionAuthListener— handles#[SessionUser]— requires an active frontend session (sidcookie)AdminSessionAuthListener— handles#[AdminSessionUser]— requires an active admin session (admin_sidcookie) with optional role checks
Usage
Apply the attribute to an action method:
Available roles
| Role | Description |
|---|---|
ROLE_ADMIN |
Admin session user |
ROLE_ADMIN_MALL |
Mall admin (full rights across all subshops) |
Installation
All versions of session-authentication-component with dependencies
PHP Build Version
Package Version
Requires
php Version
^8.3
symfony/security-core Version ^6.4
symfony/http-foundation Version ^6.4
symfony/http-kernel Version ^6.4
symfony/event-dispatcher Version ^6.4
symfony/security-core Version ^6.4
symfony/http-foundation Version ^6.4
symfony/http-kernel Version ^6.4
symfony/event-dispatcher Version ^6.4
The package oxid-esales/session-authentication-component contains the following files
Loading the files please wait ...