Sindbad~EG File Manager

Current Path : /usr/lib/python3.6/site-packages/pydbus/__pycache__/
Upload File :
Current File : //usr/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


Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists