← Back
Editing: trustroot.cpython-311.pyc
� QT�^W8 � � � d Z g d�ZddlmZ ddlmZ ddlmZmZ ddl Z ddl Z e j e� � Z ddgZg d �Z e j d � � Z G d� de� � Zd � Z G d� de� � ZdZd� Zd� Zd� Zefd�ZdS )aQ This module contains the C{L{TrustRoot}} class, which helps handle trust root checking. This module is used by the C{L{openid.server.server}} module, but it is also available to server implementers who wish to use it for additional trust root checking. It also implements relying party return_to URL verification, based on the realm. )� TrustRoot�RP_RETURN_TO_URL_TYPE�extractReturnToURLs�returnToMatches�verifyReturnTo� )�urinorm)�services)�urlparse� urlunparseN�http�https( �ac�ad�ae�aero�af�ag�ai�al�am�an�ao�aq�ar�arpa�as�asia�at�au�aw�ax�az�ba�bb�bd�be�bf�bg�bh�bi�biz�bj�bm�bn�bo�br�bs�bt�bv�bw�by�bz�ca�cat�cc�cd�cf�cg�ch�ci�ck�cl�cm�cn�co�com�coop�cr�cu�cv�cx�cy�cz�de�dj�dk�dm�do�dz�ec�edu�ee�eg�er�es�et�eu�fi�fj�fk�fm�fo�fr�ga�gb�gd�ge�gf�gg�gh�gi�gl�gm�gn�gov�gp�gq�gr�gs�gt�gu�gw�gy�hk�hm�hn�hr�ht�hu�id�ie�il�im�in�info�int�io�iq�ir�is�it�je�jm�jo�jobs�jp�ke�kg�kh�ki�km�kn�kp�kr�kw�ky�kz�la�lb�lc�li�lk�lr�ls�lt�lu�lv�ly�ma�mc�md�me�mg�mh�mil�mk�ml�mm�mn�mo�mobi�mp�mq�mr�ms�mt�mu�museum�mv�mw�mx�my�mz�na�name�nc�ne�net�nf�ng�ni�nl�no�np�nr�nu�nz�om�org�pa�pe�pf�pg�ph�pk�pl�pm�pn�pr�pro�ps�pt�pw�py�qa�re�ro�rs�ru�rw�sa�sb�sc�sd�se�sg�sh�si�sj�sk�sl�sm�sn�so�sr�st�su�sv�sy�sz�tc�td�tel�tf�tg�th�tj�tk�tl�tm�tn�to�tp�tr�travel�tt�tv�tw�tz�ua�ug�uk�us�uy�uz�va�vc�ve�vg�vi�vn�vu�wf�wszxn--0zwm56dzxn--11b5bs3a9aj6gzxn--80akhbyknj4fzxn--9t4b11yi5azxn--deba0adzxn--g6w251dzxn--hgbk6aj7f53bbazxn--hlcj6aya9esc7azxn--jxalpdlpzxn--kgbechtvz xn--zckzah�ye�yt�yu�za�zm�zwz3(?:[-a-zA-Z0-9!$&'\(\)\*+,;=._~]|%[a-zA-Z0-9]{2})+$c � � e Zd ZdZd� Zd� ZdS )�RealmVerificationRedirectedzOAttempting to verify this realm resulted in a redirect. @since: 2.1.0 c �"