HEX
Server: Apache/2.4.62 (Unix) OpenSSL/1.1.1k
System: Linux ns565604.ip-54-39-133.net 4.18.0-553.50.1.el8_10.x86_64 #1 SMP Tue Apr 15 08:09:22 EDT 2025 x86_64
User: greer489 (1034)
PHP: 8.3.19
Disabled: NONE
Upload Files
File: //lib/python3.6/site-packages/pydbus/__pycache__/method_call_context.cpython-36.pyc
3

ָVX�@s6ddlmZddlmZedd�ZGdd�de�ZdS)�)�GLib)�
namedtuple�AuthorizationResultz"is_authorized is_challenge detailsc@sdeZdZdd�Zedd��Zedd��Zedd��Zed	d
��Zedd��Z	ddd�Z
ddd�ZdS)�MethodCallContextcCs
||_dS)N)�_mi)�selfZgdbus_method_invocation�r�)/usr/lib/python3.6/method_call_context.py�__init__szMethodCallContext.__init__cCs|jj�jS)N)rZget_connectionZpydbus)rrrr	�bus
szMethodCallContext.buscCs
|jj�S)N)rZ
get_sender)rrrr	�senderszMethodCallContext.sendercCs
|jj�S)N)rZget_object_path)rrrr	�object_pathszMethodCallContext.object_pathcCs
|jj�S)N)rZget_interface_name)rrrr	�interface_namesz MethodCallContext.interface_namecCs
|jj�S)N)rZget_method_name)rrrr	�method_nameszMethodCallContext.method_nameFcCs4t|jjjddtjd|j�if|||r*dndd��S)Nzsystem-bus-name�name�s�r�)rrZpolkit_authorityZCheckAuthorizationrZVariantr)r�	action_id�details�interactiverrr	�check_authorizationsz%MethodCallContext.check_authorizationcCs|j|||�jS)N)r�
is_authorized)rrrrrrr	r!szMethodCallContext.is_authorizedN)F)F)�__name__�
__module__�__qualname__r
�propertyrrr
rrrrrrrr	rs
rN)Z
gi.repositoryr�collectionsrr�objectrrrrr	�<module>s