Extension supporting Federation.
Bases: object
Create a mapping.
Parameters: | mapping_ref (dict) – mapping ref with mapping name |
---|---|
Returns: | mapping_ref |
Add an IdP-Protocol configuration.
Raises: | keystone.exception.IdentityProviderNotFound |
---|
Create a service provider.
Parameters: |
|
---|---|
Returns: | sp_ref |
Return type: | dict |
Delete an identity provider.
Raises: | keystone.exception.IdentityProviderNotFound |
---|
Delete a mapping.
Parameters: | mapping_id – id of mapping to delete |
---|---|
Returns: | None |
Delete an IdP-Protocol configuration.
Raises: | keystone.exception.IdentityProviderNotFound, keystone.exception.FederatedProtocolNotFound, |
---|
Delete a service provider.
Parameters: | sp_id (string) – id of the service provider |
---|---|
Raises: | keystone.exception.ServiceProviderNotFound |
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.
Raises: | keystone.exception.IdentityProviderNotFound |
---|
Get an identity provider by remote ID.
Raises: | keystone.exception.IdentityProviderNotFound |
---|
Get a mapping, returns the mapping based on mapping_id.
Parameters: | mapping_id – id of mapping to get |
---|---|
Returns: | mapping_ref |
Get mapping based on idp_id and protocol_id.
Parameters: |
|
---|---|
Raises: | keystone.exception.IdentityProviderNotFound, keystone.exception.FederatedProtocolNotFound, |
Returns: | mapping_ref |
Get an IdP-Protocol configuration.
Raises: | keystone.exception.IdentityProviderNotFound, keystone.exception.FederatedProtocolNotFound |
---|
Get a service provider.
Parameters: | sp_id (string) – id of the service provider |
---|---|
Returns: | sp_ref |
Raises: | keystone.exception.ServiceProviderNotFound |
List all identity providers.
Raises: | keystone.exception.IdentityProviderNotFound |
---|
List an IdP’s supported protocols.
Raises: | keystone.exception.IdentityProviderNotFound, |
---|
List all service providers.
:returns List of sp_ref objects :rtype: list of dicts
Update an identity provider by ID.
Raises: | keystone.exception.IdentityProviderNotFound |
---|
Update a mapping.
Parameters: |
|
---|---|
Returns: | mapping_ref |
Bases: keystone.common.manager.Manager
Default pivot point for the Federation backend.
See keystone.common.manager.Manager for more details on how this dynamically calls the backend.
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 |