Module auth_context

Source
Expand description

Generic authentication context integration.

This module provides a trait for integrating with various authentication systems, making it easy to adapt the role system to work with any auth framework like OAuth, JWT, or custom token solutions.

Structs§

JwtContext
Simple JWT-based authentication context example
SessionContext
Example session-based authentication context

Traits§

AuthenticationContext
A generic trait that any authentication system can implement.