U
    hN                     @   s0   d Z ddlmZ ddlmZ G dd deZdS )a  
Django App Configuration for Authentication Module.

This module handles comprehensive authentication and authorization systems
including login, logout, password management, and security features.
It provides secure authentication mechanisms and user session management.

Features:
- Multi-factor authentication (MFA)
- Social authentication integration
- Password reset and recovery
- Session management and security
- OAuth and JWT token handling
- Security monitoring and logging

Author: Adtlas Development Team
Version: 1.0.0
    )	AppConfig)gettext_lazyc                   @   s<   e Zd ZdZdZdZedZdZdd Z	dd	 Z
d
d ZdS )AuthenticationConfigac  
    Django application configuration for the Authentication app.
    
    This configuration class defines the settings and metadata for the authentication
    application, including database field configurations, application naming,
    and initialization hooks for security and authentication systems.
    
    Attributes:
        default_auto_field (str): The default primary key field type for models
        name (str): The full Python path to the application
        verbose_name (str): Human-readable name for the application
        label (str): Short name for the application (used in migrations)
    zdjango.db.models.BigAutoFieldzapps.authenticationzAuthentication & Securityauthenticationc                 C   sF   z,ddl m} ddl m} |   |   W n tk
r@   Y nX dS )a  
        Initialize the application when Django starts.
        
        This method is called when the application is ready and all models
        have been imported. It's used to register signal handlers for
        authentication events and security monitoring.
           )signals)checksN) r   r   _setup_logging_setup_authenticationImportError)selfr   r    r   3/var/www/html/Focus/src/apps/authentication/apps.pyready0   s    zAuthenticationConfig.readyc                 C   s    ddl }|d}|d dS )zSetup application-specific logging configuration.
        
        This method can be used to set up custom logging configuration for the
        auth app. It"s especially useful when customizing log levels,
        handlers, or formats.
        r   Nzadtlas.authz!Auth app initialized successfully)logging	getLoggerinfo)r   r   loggerr   r   r   r
   I   s    
z#AuthenticationConfig._setup_loggingc                 C   s   dS )zSetup authentication-specific configurations.
        
        This method can be used to set up custom authentication backends,
        custom user models, or any other authentication-related configurations.
        Nr   )r   r   r   r   r   U   s    z*AuthenticationConfig._setup_authenticationN)__name__
__module____qualname____doc__default_auto_fieldname_verbose_namelabelr   r
   r   r   r   r   r   r      s   r   N)r   django.appsr   django.utils.translationr   r   r   r   r   r   r   <module>   s   