| Server IP : 217.160.0.135 / Your IP : 216.73.217.85 Web Server : Apache System : Linux www 6.18.52-i1-ampere #1203 SMP Mon Sep 14 18:29:59 CEST 2026 aarch64 User : sws1074145052 ( 1074145052) PHP Version : 8.3.32 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /lib/python3/dist-packages/openid/__pycache__/ |
Upload File : |
�
|=�^� � �6 � d dl Z d dlmZ G d� de� � ZdS )� N)�messagec �( � e Zd ZdZdZdZd� Zdd�ZdS )� Extensionz�An interface for OpenID extensions.
@ivar ns_uri: The namespace to which to add the arguments for this
extension
Nc � � t � � �)a~ Get the string arguments that should be added to an OpenID
message for this extension.
@returns: A dictionary of completely non-namespaced arguments
to be added. For example, if the extension's alias is
'uncle', and this method returns {'meat':'Hot Rats'}, the
final message will contain {'openid.uncle.meat':'Hot Rats'}
)�NotImplementedError)�selfs �2/usr/lib/python3/dist-packages/openid/extension.py�getExtensionArgszExtension.getExtensionArgs s � � "�#�#�#� c �� � |�:t j dt d�� � t j t j � � }|� � � } |j � | j | j
|�� � n9# t $ r, |j � | j � � | j
k r� Y nw xY w|�
| j | � � � � � |S )z�Add the arguments from this extension to the provided
message, or create a new message containing only those
arguments.
@returns: The message with the extension arguments added
NzaPassing None to Extension.toMessage is deprecated. Creating a message assuming you want OpenID 2.� )�
stacklevel)�implicit)�warnings�warn�DeprecationWarning�message_module�Message�
OPENID2_NS� isOpenID1�
namespaces�addAlias�ns_uri�ns_alias�KeyError�getAlias�
updateArgsr
)r r r s r � toMessagezExtension.toMessage s� � � �?��M�A�"��
�
�
�
�
%�,�^�-F�G�G�G��$�$�&�&�� ���'�'���T�]�X�
(�
?�
?�
?�
?��� � � ��!�*�*�4�;�7�7�4�=�H�H�� I�H� ���� ���4�;��(=�(=�(?�(?�@�@�@��s �'A: �:3B0�/B0)N)�__name__�
__module__�__qualname__�__doc__r r r
r � r r r r sM � � � � � �� �
�F��H� $� $� $�� � � � � r r )r �openidr r �objectr r# r r �<module>r&