/usr/lib/python2.6/site-packages/keystoneclient/auth/identity/v3
NameSizeModeActions
base.py106040644editdlrm
base.pyc111540644editdlrm
federated.py44150644editdlrm
federated.pyc45160644editdlrm
password.py38690644editdlrm
password.pyc40380644editdlrm
token.py22850644editdlrm
token.pyc27950644editdlrm
__init__.py10240644editdlrm
__init__.pyc6100644editdlrm
Edit: /usr/lib/python2.6/site-packages/keystoneclient/auth/identity/v3/base.pyc (11154B)
Ñò |idtƒ|_tt|ƒid||||_dS(NtunscopedR (tpoptFalseR0R RR t auth_methods(RR R3R((sS/tmp/pip-build-cD3xZi/python-keystoneclient/keystoneclient/auth/identity/v3/base.pyR ‚sc Ks2hdd6}hhhd6d6}|dd}h}xU|iD]J}|i|||d|ƒ\}} |idgƒi|ƒ| ||tKeyErrort ValueErrortInvalidResponseRt AccessInfoV3R?(RRRR?tbodytidenttrkwargstmethodR<t auth_datatmutual_exclusionR;Rtrespt resp_data((sS/tmp/pip-build-cD3xZi/python-keystoneclient/keystoneclient/auth/identity/v3/base.pyR‡sf     # # #     #   (R&R'R(R R(((sS/tmp/pip-build-cD3xZi/python-keystoneclient/keystoneclient/auth/identity/v3/base.pyRms cBs>eZdZgZd„Zed„ƒZeid„ƒZ RS(s§One part of a V3 Authentication strategy. V3 Tokens allow multiple methods to be presented when authentication against the server. Each one of these methods is implemented by an AuthMethod. Note: When implementing an AuthMethod use the method_parameters and do not use positional arguments. Otherwise they can't be picked up by the factory method and don't work as well with AuthConstructors. cKsdx-|iD]"}t|||i|dƒƒq W|o)tdƒdi|ƒ}t|ƒ‚ndS(NsUnexpected Attributes: %ss, (t_method_parameterstsetattrR1RRtjointAttributeError(RRtparamtmsg((sS/tmp/pip-build-cD3xZi/python-keystoneclient/keystoneclient/auth/identity/v3/base.pyR Øs   cCs:tg}|iD]}|||i|dƒfq~ƒS(s;Remove parameters related to this method from other kwargs.N(tdictRYR1R(R$Rt_[1]tp((sS/tmp/pip-build-cD3xZi/python-keystoneclient/keystoneclient/auth/identity/v3/base.pyt_extract_kwargsàs cKsdS(sReturn the authentication section of an auth plugin. :param session: The communication session. :type session: keystoneclient.session.Session :param Auth auth: The auth plugin calling the method. :param dict headers: The headers that will be sent with the auth request if a plugin needs to add to them. :return: The identifier of this plugin and a dict of authentication data for the auth type. :rtype: tuple(string, dict) N((RRR6R?R((sS/tmp/pip-build-cD3xZi/python-keystoneclient/keystoneclient/auth/identity/v3/base.pyRDæs( R&R'R(RYR R/RbR-R.RD(((sS/tmp/pip-build-cD3xZi/python-keystoneclient/keystoneclient/auth/identity/v3/base.pyRÉs   cBseZdZdZd„ZRS(s_AuthConstructor is a means of creating an Auth Plugin that contains only one authentication method. This is generally the required usage. An AuthConstructor creates an AuthMethod based on the method's arguments and the auth_method_class defined by the plugin. It then creates the auth plugin with only that authentication method. cOsG|ii|ƒ}|i||Ž}tt|ƒi||g|dS(N(t_auth_method_classRbR RR (RR targsRt method_kwargsRT((sS/tmp/pip-build-cD3xZi/python-keystoneclient/keystoneclient/auth/identity/v3/base.pyR sN(R&R'R(RRcR (((sS/tmp/pip-build-cD3xZi/python-keystoneclient/keystoneclient/auth/identity/v3/base.pyRõs(R-tloggingt oslo_configRtsixtkeystoneclientRtkeystoneclient.auth.identityRRtkeystoneclient.i18nRRt getLoggerR&RJt__all__t add_metaclasstABCMetatBaseIdentityPluginR RtobjectRR(((sS/tmp/pip-build-cD3xZi/python-keystoneclient/keystoneclient/auth/identity/v3/base.pyt s"   N\+