← Back
Editing: pape2.cpython-311.pyc
� |=�^ % � � � d Z g d�ZddlmZ ddlZdZdZdZdZ ej d � � Z G d � de� � Zee_ G d� d e� � Zee_ dS )z�An implementation of the OpenID Provider Authentication Policy Extension 1.0 @see: http://openid.net/developers/specs/ @since: 2.1.0 )�Request�Response�ns_uri�AUTH_PHISHING_RESISTANT�AUTH_MULTI_FACTOR�AUTH_MULTI_FACTOR_PHYSICAL� )� ExtensionNz+http://specs.openid.net/extensions/pape/1.0zEhttp://schemas.openid.net/pape/policies/2007/06/multi-factor-physicalz<http://schemas.openid.net/pape/policies/2007/06/multi-factorzBhttp://schemas.openid.net/pape/policies/2007/06/phishing-resistantz$^\d\d\d\d-\d\d-\d\dT\d\d:\d\d:\d\dZ$c �b � � e Zd ZdZdZd� fd� Zd� Zd� Zd� Zd� Z e e � � Z d � Zd � Z� xZ S )r a� A Provider Authentication Policy request, sent from a relying party to a provider @ivar preferred_auth_policies: The authentication policies that the relying party prefers @type preferred_auth_policies: [str] @ivar max_auth_age: The maximum time, in seconds, that the relying party wants to allow to have elapsed before the user must re-authenticate @type max_auth_age: int or NoneType �papeNc �z �� t t | � � � � � |sg }|| _ || _ d S �N)�superr �__init__�preferred_auth_policies�max_auth_age)�selfr r � __class__s ��?/usr/lib/python3/dist-packages/openid/extensions/draft/pape2.pyr zRequest.__init__1 sC �� � �g�t���%�%�'�'�'�&� )�&(�#�'>��$�(����� c �<