/usr/lib/python2.6/site-packages/keystoneauth1/loading
Edit: /usr/lib/python2.6/site-packages/keystoneauth1/loading/identity.pyc (6628B)
Ñò
7
Wc @ s« d d k l Z d d k l Z d d k l Z d Z d e i f d „ ƒ YZ d e f d
„ ƒ YZ d e f d „ ƒ YZ d e f d „ ƒ YZ
d e f d
„ ƒ YZ d S( iÿÿÿÿ( t
exceptions( t base( t optst BaseIdentityLoadert BaseV2Loadert BaseV3Loadert BaseFederationLoadert BaseGenericLoaderc B s e Z d Z d „ Z RS( s1 Base Option handling for identity plugins.
This class defines options and handling that should be common across all
plugins that are developed against the OpenStack identity service. It
provides the options expected by the
:py:class:`keystoneauth1.identity.BaseIdentityPlugin` class.
c C s> t t | ƒ i ƒ } | i t i d d t d d ƒg ƒ | S( Ns auth-urlt requiredt helps Authentication URL( t superR t get_optionst extendR t Optt True( t selft options( ( sE /tmp/pip-build-wCUybK/keystoneauth1/keystoneauth1/loading/identity.pyR ! s
( t __name__t
__module__t __doc__R ( ( ( sE /tmp/pip-build-wCUybK/keystoneauth1/keystoneauth1/loading/identity.pyR s c B s e Z d Z d „ Z RS( sì Base Option handling for identity plugins.
This class defines options and handling that should be common to the V2
identity API. It provides the options expected by the
:py:class:`keystoneauth1.identity.v2.Auth` class.
c C s\ t t | ƒ i ƒ } | i t i d d d ƒt i d d d ƒt i d d d ƒg ƒ | S( Ns tenant-idR s Tenant IDs tenant-names Tenant Names trust-ids Trust ID( R
R R R R R
( R R ( ( sE /tmp/pip-build-wCUybK/keystoneauth1/keystoneauth1/loading/identity.pyR 5 s ( R R R R ( ( ( sE /tmp/pip-build-wCUybK/keystoneauth1/keystoneauth1/loading/identity.pyR - s c B s e Z d Z d „ Z d „ Z RS( sì Base Option handling for identity plugins.
This class defines options and handling that should be common to the V3
identity API. It provides the options expected by the
:py:class:`keystoneauth1.identity.v3.Auth` class.
c C s¤ t t | ƒ i ƒ } | i t i d d d ƒt i d d d ƒt i d d d ƒt i d d d ƒt i d
d d ƒt i d d d
ƒt i d d d ƒg ƒ | S( Ns domain-idR s Domain ID to scope tos domain-names Domain name to scope tos
project-ids Project ID to scope tos project-names Project name to scope tos project-domain-ids Domain ID containing projects project-domain-names Domain name containing projects trust-ids Trust ID( R
R R R R R
( R R ( ( sE /tmp/pip-build-wCUybK/keystoneauth1/keystoneauth1/loading/identity.pyR I s c K s` | i d ƒ o: | i d ƒ p
| i d ƒ o d } t i | ƒ ‚ n t t | ƒ i | S( Nt project_namet project_domain_namet project_domain_ids² You have provided a project_name. In the V3 identity API a project_name is only unique within a domain so you must also provide either a project_domain_id or project_domain_name.( t getR t OptionErrorR
R t load_from_options( R t kwargst m( ( sE /tmp/pip-build-wCUybK/keystoneauth1/keystoneauth1/loading/identity.pyR Z s ( R R R R R ( ( ( sE /tmp/pip-build-wCUybK/keystoneauth1/keystoneauth1/loading/identity.pyR A s c B s e Z d Z d „ Z RS( s Base Option handling for federation plugins.
This class defines options and handling that should be common to the V3
identity federation API. It provides the options expected by the
:py:class:`keystoneauth1.identity.v3.FederationBaseAuth` class.
c C sV t t | ƒ i ƒ } | i t i d d d d t ƒt i d d d d t ƒg ƒ | S( Ns identity-providerR s Identity Provider's nameR t protocols Protocol for federated plugin( R
R R R R R
R ( R R ( ( sE /tmp/pip-build-wCUybK/keystoneauth1/keystoneauth1/loading/identity.pyR o s
( R R R R ( ( ( sE /tmp/pip-build-wCUybK/keystoneauth1/keystoneauth1/loading/identity.pyR g s c B s e Z d Z d „ Z RS( sc Base Option handling for generic plugins.
This class defines options and handling that should be common to generic
plugins. These plugins target the OpenStack identity service however are
designed to be independent of API version. It provides the options expected
by the :py:class:`keystoneauth1.identity.v3.BaseGenericPlugin` class.
c
C sì t t | ƒ i ƒ } | i t i d d d ƒt i d d d ƒt i d d d d t i d ƒ g ƒt i d
d d d t i d ƒ g ƒt i d
d d ƒt i d d d ƒt i d d d ƒt i d d d ƒt i d d d ƒg ƒ | S( Ns domain-idR s Domain ID to scope tos domain-names Domain name to scope tos
project-ids Project ID to scope tot
deprecateds tenant-ids project-names Project name to scope tos tenant-names project-domain-ids Domain ID containing projects project-domain-names Domain name containing projects trust-ids Trust IDs default-domain-ids‘ Optional domain ID to use with v3 and v2 parameters. It will be used for both the user and project domain in v3 and ignored in v2 authentication.s default-domain-names— Optional domain name to use with v3 API and v2 parameters. It will be used for both the user and project domain in v3 and ignored in v2 authentication.( R
R R R R R
( R R ( ( sE /tmp/pip-build-wCUybK/keystoneauth1/keystoneauth1/loading/identity.pyR ‡ s$
( R R R R ( ( ( sE /tmp/pip-build-wCUybK/keystoneauth1/keystoneauth1/loading/identity.pyR ~ s N( s BaseIdentityLoaders BaseV2Loaders BaseV3Loaders BaseFederationLoaders BaseGenericLoader( t
keystoneauth1R t keystoneauth1.loadingR R t __all__t
BaseLoaderR R R R R ( ( ( sE /tmp/pip-build-wCUybK/keystoneauth1/keystoneauth1/loading/identity.pyt
s &