Bases: object
Create an identity provider.
Parameters: |
|
---|---|
Returns: | idp ref |
Return type: | dict |
Create a mapping.
Parameters: |
|
---|---|
Returns: | mapping ref |
Return type: | dict |
Add an IdP-Protocol configuration.
Parameters: |
|
---|---|
Raises keystone.exception.IdentityProviderNotFound: | |
If the IdP doesn’t exist. |
|
Returns: | protocol ref |
Return type: | dict |
Create a service provider.
Parameters: |
|
---|---|
Returns: | service provider ref |
Return type: | dict |
Delete an identity provider.
Parameters: | idp_id (string) – ID of IdP object |
---|---|
Raises keystone.exception.IdentityProviderNotFound: | |
If the IdP doesn’t exist. |
Delete a mapping.
Parameters: | mapping_id – id of mapping to delete |
---|---|
Returns: | None |
Delete an IdP-Protocol configuration.
Parameters: |
|
---|---|
Raises: |
|
Delete a service provider.
Parameters: | sp_id (string) – id of the service provider |
---|---|
Raises keystone.exception.ServiceProviderNotFound: | |
If the service provider doesn’t exist. |
List enabled service providers for Service Catalog.
Service Provider in a catalog contains three attributes: id, auth_url, sp_url, where:
Returns: | list of dictionaries with enabled service providers |
---|---|
Return type: | list of dicts |
Get an identity provider by ID.
Parameters: | idp_id (string) – ID of IdP object |
---|---|
Raises keystone.exception.IdentityProviderNotFound: | |
If the IdP doesn’t exist. | |
Returns: | idp ref |
Return type: | dict |
Get an identity provider by remote ID.
Parameters: | remote_id – ID of remote IdP |
---|---|
Raises keystone.exception.IdentityProviderNotFound: | |
If the IdP doesn’t exist. | |
Returns: | idp ref |
Return type: | dict |
Get a mapping, returns the mapping based on mapping_id.
Parameters: | mapping_id – id of mapping to get |
---|---|
Raises keystone.exception.MappingNotFound: | |
If the mapping cannot be found. | |
Returns: | mapping ref |
Return type: | dict |
Get mapping based on idp_id and protocol_id.
Parameters: |
|
---|---|
Raises: |
|
Returns: | mapping ref |
Return type: | dict |
Get an IdP-Protocol configuration.
Parameters: |
|
---|---|
Raises: |
|
Returns: | protocol ref |
Return type: | dict |
Get a service provider.
Parameters: | sp_id (string) – id of the service provider |
---|---|
Returns: | service provider ref |
Return type: | dict |
Raises keystone.exception.ServiceProviderNotFound: | |
If the service provider doesn’t exist. |
List an IdP’s supported protocols.
Parameters: | idp_id (string) – ID of IdP object |
---|---|
Raises keystone.exception.IdentityProviderNotFound: | |
If the IdP doesn’t exist. | |
Returns: | list of protocol ref |
Return type: | list of dict |
Update an identity provider by ID.
Parameters: |
|
---|---|
Raises keystone.exception.IdentityProviderNotFound: | |
If the IdP doesn’t exist. |
|
Returns: | idp ref |
Return type: | dict |
Update a mapping.
Parameters: |
|
---|---|
Returns: | mapping ref |
Return type: | dict |
Change an IdP-Protocol configuration.
Parameters: |
|
---|---|
Raises: |
|
Returns: | protocol ref |
Return type: | dict |
Update a service provider.
Parameters: |
|
---|---|
Returns: | service provider ref |
Return type: | dict |
Raises keystone.exception.ServiceProviderNotFound: | |
If the service provider doesn’t exist. |
Bases: keystone.federation.backends.base.FederationDriverBase
Removed or redefined methods from V8.
Move the abstract methods of any methods removed or modified in later versions of the driver from FederationDriverBase to here. We maintain this so that legacy drivers, which will be a subclass of FederationDriverV8, can still reference them.
List all identity providers.
Returns: | list of idp refs |
---|---|
Return type: | list of dicts |
Raises keystone.exception.IdentityProviderNotFound: | |
If the IdP doesn’t exist. |
Bases: keystone.federation.backends.base.FederationDriverBase
New or redefined methods from V8.
Add any new V9 abstract methods (or those with modified signatures) to this class.
List all identity providers.
Parameters: | hints – filter hints which the driver should implement if at all possible. |
---|---|
Returns: | list of idp refs |
Return type: | list of dicts |
Raises keystone.exception.IdentityProviderNotFound: | |
If the IdP doesn’t exist. |
List all service providers.
Parameters: | hints – filter hints which the driver should implement if at all possible. |
---|---|
Returns: | List of service provider ref objects |
Return type: | list of dicts |
Raises keystone.exception.ServiceProviderNotFound: | |
If the SP doesn’t exist. |
Bases: keystone.federation.backends.base.FederationDriverV9
Wrapper class to supported a V8 legacy driver.
In order to support legacy drivers without having to make the manager code driver-version aware, we wrap legacy drivers so that they look like the latest version. For the various changes made in a new driver, here are the actions needed in this wrapper:
Bases: sqlalchemy.ext.declarative.api.Base, keystone.common.sql.core.DictBase
Bases: sqlalchemy.ext.declarative.api.Base, keystone.common.sql.core.DictBase
Bases: sqlalchemy.ext.declarative.api.Base, keystone.common.sql.core.DictBase
Bases: sqlalchemy.ext.declarative.api.Base, keystone.common.sql.core.DictBase
Bases: sqlalchemy.ext.declarative.api.Base, keystone.common.sql.core.DictBase