o
    úLfG  ã                   @   s$   G d d„ de ƒZedƒZdd„ ZdS )c                   @   sp   e Zd Zdd„ Zdd„ Zedd„ ƒZedd„ ƒZed	d
„ ƒZedd„ ƒZ	edd„ ƒZ
edd„ ƒZedd„ ƒZdS )ÚAppSettingsc                 C   s
   || _ d S ©N)Úprefix)Úselfr   © r   úY/var/www/html/humari/django-venv/lib/python3.10/site-packages/allauth/mfa/app_settings.pyÚ__init__   s   
zAppSettings.__init__c                 C   s   ddl m} || j| |ƒS )Né    )Úget_setting)Úallauth.utilsr	   r   )r   ÚnameÚdfltr	   r   r   r   Ú_setting   s   zAppSettings._settingc                 C   ó   |   dd¡S )NÚADAPTERz%allauth.mfa.adapter.DefaultMFAAdapter©r   ©r   r   r   r   r   
   ó   zAppSettings.ADAPTERc                 C   s   |   di ¡S )NÚFORMSr   r   r   r   r   r      r   zAppSettings.FORMSc                 C   r   )z/
        The number of recovery codes.
        ÚRECOVERY_CODE_COUNTé
   r   r   r   r   r   r      ó   zAppSettings.RECOVERY_CODE_COUNTc                 C   r   )zL
        The period that a TOTP code will be valid for, in seconds.
        ÚTOTP_PERIODé   r   r   r   r   r   r      r   zAppSettings.TOTP_PERIODc                 C   r   )z5
        The number of digits for TOTP codes
        ÚTOTP_DIGITSé   r   r   r   r   r   r       r   zAppSettings.TOTP_DIGITSc                 C   r   )z
        The issuer.
        ÚTOTP_ISSUERÚ r   r   r   r   r   r   '   r   zAppSettings.TOTP_ISSUERc                 C   s   ddg}|   d|¡S )NÚrecovery_codesÚtotpÚSUPPORTED_TYPESr   )r   r   r   r   r   r   .   s   zAppSettings.SUPPORTED_TYPESN)Ú__name__Ú
__module__Ú__qualname__r   r   Úpropertyr   r   r   r   r   r   r   r   r   r   r   r      s"    





r   ÚMFA_c                 C   s
   t t| ƒS r   )ÚgetattrÚ_app_settings)r   r   r   r   Ú__getattr__7   s   
r'   N)Úobjectr   r&   r'   r   r   r   r   Ú<module>   s    3