§
KþEKZã ó^ — 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" ó
è è € ð
ˆr c ƒ ó
K — dS )z¥Retrieve authorized user id.
Return the user_id of the user identified by the identity
or 'None' if no user exists related to the identity.
Nr )r r s r Úauthorized_useridz-AbstractAuthorizationPolicy.authorized_userid+ r r )N)r r r r r r r" r r r r r sU € € € € € àÔð
ð
ð
ñ Ôð
ð Ôð
ð
ñ Ôð
ð
ð
r r )r ÚABCMetar r r r r ú