← Back
Editing: auth.cpython-311.pyc
� +�cE � �� � d dl mZ d dlmZ d dlZd dlmZ defd�Zdefd�Z dZ d Z G d � de� � Z G d� d e � � Z G d� de� � Z G d� d� � ZeZdS )� )�hexlify)�EnumN)�Optional�returnc � � t t t j � � � � � d� � � � } d| z S )z�Prepare an AUTH command line with the current effective user ID. This is the preferred authentication method for typical D-Bus connections over a Unix domain socket. �asciis AUTH EXTERNAL %b )r �str�os�geteuid�encode)�hex_uids �./usr/lib/python3/dist-packages/jeepney/auth.py�make_auth_externalr s8 � � �c�"�*�,�,�'�'�.�.�w�7�7�8�8�G�"�W�,�,� c �b � ddl m} t d| z � d� � � � }d|z S )z�Format an AUTH command line for the ANONYMOUS mechanism Jeepney's higher-level wrappers don't currently use this mechanism, but third-party code may choose to. See <https://tools.ietf.org/html/rfc4505> for details. � )�__version__z Jeepney %sr s AUTH ANONYMOUS %s )� r r r )r �traces r �make_auth_anonymousr sA � � �������\�K�/�7�7��@�@�A�A�E�#�e�+�+r s BEGIN s NEGOTIATE_UNIX_FD c �"