/usr/lib/python2.6/site-packages/keystoneauth1/extras/_saml2/v3
NameSizeModeActions
adfs.py183450644editdlrm
adfs.pyc162950644editdlrm
base.py33380644editdlrm
base.pyc38300644editdlrm
saml2.py142080644editdlrm
saml2.pyc128150644editdlrm
__init__.py7490644editdlrm
__init__.pyc4180644editdlrm
Edit: /usr/lib/python2.6/site-packages/keystoneauth1/extras/_saml2/v3/base.pyc (3830B)
7 Wc@sfddklZddklZddklZdeifdYZdeifdYZ dS( i(tetree(t exceptions(tv3t_Saml2TokenAuthMethodcBseZgZdZRS(cKstiddS(Ns"This method should never be called(RtMethodNotImplemented(tselftsessiontauththeaderstkwargs((sJ/tmp/pip-build-wCUybK/keystoneauth1/keystoneauth1/extras/_saml2/v3/base.pyt get_auth_datas(t__name__t __module__t_method_parametersR (((sJ/tmp/pip-build-wCUybK/keystoneauth1/keystoneauth1/extras/_saml2/v3/base.pyRstBaseSAMLPlugincBsVeZdZdZeZdZedZede dZ edZ RS(i.i/cKsGtt|id|d|d||||_||_||_dS(sClass constructor accepting following parameters: :param auth_url: URL of the Identity Service :type auth_url: string :param identity_provider: Name of the Identity Provider the client will authenticate against. This parameter will be used to build a dynamic URL used to obtain unscoped OpenStack token. :type identity_provider: string :param identity_provider_url: An Identity Provider URL, where the SAML2 authn request will be sent. :type identity_provider_url: string :param username: User's login :type username: string :param password: User's password :type password: string :param protocol: Protocol to be used for the authentication. The name must be equal to one configured at the keystone sp side. This value is used for building dynamic authentication URL. Typical value would be: saml2 :type protocol: string tauth_urltidentity_providertprotocolN(tsuperRt__init__tidentity_provider_urltusernametpassword(RRRRRRRR ((sJ/tmp/pip-build-wCUybK/keystoneauth1/keystoneauth1/extras/_saml2/v3/base.pyR"s!   cCs+t|djotdn|dS(Nis&Only single element list is acceptablei(tlent IndexError(t_list((sJ/tmp/pip-build-wCUybK/keystoneauth1/keystoneauth1/extras/_saml2/v3/base.pyt_firstKscCsnyti|SWnVtij oG}|pt|}n|o ||n|}ti|nXdS(N(RtXMLtXMLSyntaxErrortstrRtAuthorizationFailure(tcontenttmsgt include_excte((sJ/tmp/pip-build-wCUybK/keystoneauth1/keystoneauth1/extras/_saml2/v3/base.pyt str_to_xmlQscKsti||S(N(Rttostring(RR ((sJ/tmp/pip-build-wCUybK/keystoneauth1/keystoneauth1/extras/_saml2/v3/base.pyt xml_to_str\sN( R R tHTTP_MOVED_TEMPORARILYtHTTP_SEE_OTHERRt_auth_method_classRt staticmethodRtNonetTrueR#R%(((sJ/tmp/pip-build-wCUybK/keystoneauth1/keystoneauth1/extras/_saml2/v3/base.pyRs ) N( tlxmlRt keystoneauth1Rtkeystoneauth1.identityRt AuthMethodRtFederationBaseAuthR(((sJ/tmp/pip-build-wCUybK/keystoneauth1/keystoneauth1/extras/_saml2/v3/base.pyt s