Server IP : 104.21.93.192 / Your IP : 216.73.216.73 Web Server : LiteSpeed System : Linux premium900.web-hosting.com 4.18.0-553.22.1.lve.1.el8.x86_64 #1 SMP Tue Oct 8 15:52:54 UTC 2024 x86_64 User : redwjova ( 1790) PHP Version : 8.1.32 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 : |
� � h� � �^ � 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 �e/builddir/build/BUILD/cloudlinux-venv-1.0.8/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"