Module: Securial::Auth

Defined in:
lib/securial/auth.rb,
lib/securial/auth/auth_encoder.rb,
lib/securial/auth/session_creator.rb,
lib/securial/auth/token_generator.rb

Overview

Namespace for authentication-related functionality in the Securial framework.

The Auth module contains components that work together to provide a complete authentication system for Securial-powered applications:

  • AuthEncoder - Handles JWT token encoding and decoding with security measures

  • SessionCreator - Creates and manages authenticated user sessions

  • TokenGenerator - Generates secure random tokens for various authentication needs

These components handle the cryptographic and security aspects of user authentication, ensuring that best practices are followed for token generation, validation, and session management throughout the application lifecycle.

Defined Under Namespace

Modules: AuthEncoder, SessionCreator, TokenGenerator