
    qh                     .    S SK r S SKJr   " S S\5      rg)    N)messagec                   0    \ rS rSrSrSrSrS rSS jrSr	g)	Extension   zvAn interface for OpenID extensions.

@ivar ns_uri: The namespace to which to add the arguments for this
    extension
Nc                     [        5       e)aN  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    B/var/www/html/env/lib/python3.13/site-packages/openid/extension.pygetExtensionArgsExtension.getExtensionArgs   s     "##    c                    Uc>  [         R                  " S[        SS9  [        R                  " [        R
                  5      nUR                  5       n UR                  R                  U R                  U R                  US9  UR                  U R                  U R                  5       5        U$ ! [         a7    UR                  R                  U R                  5      U R                  :w  a  e  Nlf = f)zAdd 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
zaPassing 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
   	toMessageExtension.toMessage   s     ?MMA"	
 %,,^-F-FGG$$&	''T]]X ( ? 	4;;(=(=(?@  	!!**4;;74==H I	s   /B. .>C/.C/ )N)
__name__
__module____qualname____firstlineno____doc__r   r   r   r    __static_attributes__r"   r   r
   r   r      s    
 FH	$r   r   )r   openidr   r   objectr   r"   r   r
   <module>r+      s     ,- -r   