/usr/lib/python2.6/site-packages/keystoneauth1/identity/v3
Edit: /usr/lib/python2.6/site-packages/keystoneauth1/identity/v3/base.pyc (10009B)
Ñò
DVc
@ s d d k Z d d k Z d d k l Z d d k l Z d d k l Z d d k l Z e i e
ƒ Z d d d d g Z e i
e i ƒ d e i f d
„ ƒ Yƒ Z d e f d „ ƒ YZ e i
e i ƒ d e f d „ ƒ Yƒ Z e i
e i ƒ d e f d
„ ƒ Yƒ Z d S( iÿÿÿÿN( t _utils( t access( t
exceptions( t baset Autht
AuthMethodt AuthConstructort BaseAuthc B sn e Z d Z e i ƒ d d d d d d d e e d „ ƒ Z e d „ ƒ Z e
i d „ ƒ Z e d „ ƒ Z
RS( s¨ Identity V3 Authentication Plugin.
:param string auth_url: Identity service endpoint for authentication.
:param list auth_methods: A collection of methods to authenticate with.
:param string trust_id: Trust ID for trust scoping.
:param string domain_id: Domain ID for domain scoping.
:param string domain_name: Domain name for domain scoping.
:param string project_id: Project ID for project scoping.
:param string project_name: Project name for project scoping.
:param string project_domain_id: Project's domain ID for project.
:param string project_domain_name: Project's domain name for project.
:param bool reauthenticate: Allow fetching a new token if the current one
is going to expire. (optional) default True
:param bool include_catalog: Include the service catalog in the returned
token. (optional) default True.
c C sk t t | ƒ i d | d | ƒ | | _ | | _ | | _ | | _ | | _ | | _ | | _ |
| _
d S( Nt auth_urlt reauthenticate( t superR t __init__t trust_idt domain_idt domain_namet
project_idt project_namet project_domain_idt project_domain_namet include_catalog( t selfR R R
R R R R R R R ( ( sE /tmp/pip-build-lt8jXN/keystoneauth1/keystoneauth1/identity/v3/base.pyR . s c C s d | i i d ƒ S( s4 The full URL where we will send authentication data.s %s/auth/tokenst /( R t rstrip( R ( ( sE /tmp/pip-build-lt8jXN/keystoneauth1/keystoneauth1/identity/v3/base.pyt token_urlD s c K s d S( N( t None( R t sessiont kwargs( ( sE /tmp/pip-build-lt8jXN/keystoneauth1/keystoneauth1/identity/v3/base.pyt get_auth_refI s c C s/ | i p% | i p | i p | i p | i S( s? Does the plugin have parameters that will create a scoped token( R
R R R R ( R ( ( sE /tmp/pip-build-lt8jXN/keystoneauth1/keystoneauth1/identity/v3/base.pyt has_scope_parametersM s N( t __name__t
__module__t __doc__t utilst
positionalR t TrueR t propertyR t abct abstractmethodR R ( ( ( sE /tmp/pip-build-lt8jXN/keystoneauth1/keystoneauth1/identity/v3/base.pyR s c B s e Z d Z d „ Z d „ Z RS( sŒ Identity V3 Authentication Plugin.
:param string auth_url: Identity service endpoint for authentication.
:param list auth_methods: A collection of methods to authenticate with.
:param string trust_id: Trust ID for trust scoping.
:param string domain_id: Domain ID for domain scoping.
:param string domain_name: Domain name for domain scoping.
:param string project_id: Project ID for project scoping.
:param string project_name: Project name for project scoping.
:param string project_domain_id: Project's domain ID for project.
:param string project_domain_name: Project's domain name for project.
:param bool reauthenticate: Allow fetching a new token if the current one
is going to expire. (optional) default True
:param bool include_catalog: Include the service catalog in the returned
token. (optional) default True.
:param bool unscoped: Force the return of an unscoped token. This will make
the keystone server return an unscoped token even if
a default_project_id is set for this user.
c K s> | i d t ƒ | _ t t | ƒ i d | | | | _ d S( Nt unscopedR ( t popt FalseR&