Skip to main content

Auth Submodule

1. Overview (What does this do?)​

The Auth submodule within ferrox-php-security encapsulates the localized logic required for enterprise-grade execution of this domain boundary.

2. Philosophy (Why does it exist?)​

By isolating Auth into its own distinct submodule, Ferrox enforces the Single Responsibility Principle and guarantees that modifying auth logic will not inadvertently corrupt other decoupled systems.

3. API & Function Reference​

Below is the highly detailed documentation extracted and inferred directly from the codebase for every path, class, and single function within the Auth submodule:

Path: ferrox-php-security/src/Auth/PasetoAuthGuard.php​

Class / Interface: PasetoAuthGuard​

The PasetoAuthGuard is responsible for enterprise-grade execution of operations within ferrox-php-security/src/Auth/PasetoAuthGuard.php.

  • process(Request $request, RequestHandlerInterface $handler) : Response
    • intercepts the HTTP request to validate the PASETO token.