Skip to main content

Module security

Module security 

Source

Structs§

AuthGuard
Extractor: pulls the authenticated user from the request
Claims
JWT claims stored in the token
Crypto
Cryptographic helpers
JwtManager
JWT token manager
Password
Password hashing and verification using Argon2id Also supports legacy bcrypt hashes ($2y$/$2b$) from Symfony
RoleHierarchy
Symfony-style role hierarchy.

Functions§

default_hierarchy
Default role hierarchy for LaRevueGeek
require_role
Middleware factory pour protéger un groupe de routes par rôle.