| 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/consumer/__pycache__/ |
Upload File : |
�
QT�^.? � �B � d Z g d�ZddlZddlZddlmZmZ ddlmZ ddl m
Z
mZmZ ddl
mZ ddlmZ dd lmZ dd
lmZmZ ddlmZ ddlmZ d
ZdZdZdZdZddlm Z! ddlm"Z# ej$ e%� � Z& G d� de'� � Z(d� Z)d� Z*d� Z+d� Z,d� Z-d� Z.d� Z/d� Z0d� Z1d� ZdS ) z9Functions to discover OpenID endpoints from identifiers.
)�DiscoveryFailure�
OPENID_1_0_NS�OPENID_1_0_TYPE�OPENID_1_1_TYPE�OPENID_2_0_TYPE�OPENID_IDP_2_0_TYPE�OpenIDServiceEndpoint�discover� N)�fetchers�urinorm)�yadis)�nsTag� XRDSError�
XRD_NS_2_0)�applyFilter)r )r )�xrires�filters��xri)�
html_parsezhttp://openid.net/xmlns/1.0z'http://specs.openid.net/auth/2.0/serverz'http://specs.openid.net/auth/2.0/signonzhttp://openid.net/signon/1.1zhttp://openid.net/signon/1.0)�
OPENID1_NS)�
OPENID2_NSc �� � e Zd ZdZeeeegZd� Z d� Z
d� Zd� Zd� Z
d� Zd� Zd � Zd
� Zd� Z ee� � Zd� Z ee� � Zd
� Z ee� � Zd� Z ee� � Zd� Z ee� � Zd� ZdS )r z�Object representing an OpenID service endpoint.
@ivar identity_url: the verified identifier.
@ivar canonicalID: For XRI, the persistent identifier.
c �h � d | _ d | _ g | _ d | _ d | _ d| _ d | _ d S )NF)�
claimed_id�
server_url� type_uris�local_id�canonicalID�
used_yadis�display_identifier��selfs �:/usr/lib/python3/dist-packages/openid/consumer/discover.py�__init__zOpenIDServiceEndpoint.__init__; s; � ������������
�������"&����� c � � || j v S �N)r )r# �
extension_uris r$ �
usesExtensionz#OpenIDServiceEndpoint.usesExtensionD s � ����.�.r&