keystone.api.os_federation module¶
- class keystone.api.os_federation.IDPProtocolsCRUDResource[source]¶
Bases:
keystone.api.os_federation._IdentityProvidersProtocolsResourceBase
- delete(idp_id, protocol_id)[source]¶
Delete a protocol from an IDP.
- DELETE /OS-FEDERATION/identity_providers/
{idp_id}/protocols/{protocol_id}
- get(idp_id, protocol_id)[source]¶
Get protocols for an IDP.
- HEAD/GET /OS-FEDERATION/identity_providers/
{idp_id}/protocols/{protocol_id}
- methods: ClassVar[Optional[Collection[str]]] = {'DELETE', 'GET', 'PATCH', 'PUT'}¶
The methods this view is registered for. Uses the same default (
["GET", "HEAD", "OPTIONS"]
) asroute
andadd_url_rule
by default.
- class keystone.api.os_federation.IDPProtocolsListResource[source]¶
Bases:
keystone.api.os_federation._IdentityProvidersProtocolsResourceBase
- get(idp_id)[source]¶
List protocols for an IDP.
HEAD/GET /OS-FEDERATION/identity_providers/{idp_id}/protocols
- methods: ClassVar[Optional[Collection[str]]] = {'GET'}¶
The methods this view is registered for. Uses the same default (
["GET", "HEAD", "OPTIONS"]
) asroute
andadd_url_rule
by default.
- class keystone.api.os_federation.IdentityProvidersResource[source]¶
Bases:
keystone.api.os_federation._ResourceBase
- api_prefix = '/OS-FEDERATION'¶
- collection_key = 'identity_providers'¶
- member_key = 'identity_provider'¶
- methods: ClassVar[Optional[Collection[str]]] = {'DELETE', 'GET', 'PATCH', 'PUT'}¶
The methods this view is registered for. Uses the same default (
["GET", "HEAD", "OPTIONS"]
) asroute
andadd_url_rule
by default.
- class keystone.api.os_federation.MappingResource[source]¶
Bases:
keystone.api.os_federation._ResourceBase
- api_prefix = '/OS-FEDERATION'¶
- collection_key = 'mappings'¶
- member_key = 'mapping'¶
- methods: ClassVar[Optional[Collection[str]]] = {'DELETE', 'GET', 'PATCH', 'PUT'}¶
The methods this view is registered for. Uses the same default (
["GET", "HEAD", "OPTIONS"]
) asroute
andadd_url_rule
by default.
- class keystone.api.os_federation.OSFederationAPI(blueprint_url_prefix='', api_url_prefix='', default_mediatype='application/json', decorators=None, errors=None)[source]¶
Bases:
keystone.server.flask.common.APIBase
- resource_mapping = [resource_map(resource=<class 'keystone.api.os_federation.SAML2MetadataResource'>, url='/saml2/metadata', alternate_urls=None, kwargs={}, json_home_data=json_home_data(rel='https://docs.openstack.org/api/openstack-identity/3/ext/OS-FEDERATION/1.0/rel/metadata', status='stable', path_vars={})), resource_map(resource=<class 'keystone.api.os_federation.OSFederationAuthResource'>, url='/identity_providers/<string:idp_id>/protocols/<string:protocol_id>/auth', alternate_urls=None, kwargs={}, json_home_data=json_home_data(rel='https://docs.openstack.org/api/openstack-identity/3/ext/OS-FEDERATION/1.0/rel/identity_provider_protocol_auth', status='stable', path_vars={'idp_id': 'https://docs.openstack.org/api/openstack-identity/3/ext/OS-FEDERATION/1.0/param/idp_id', 'protocol_id': 'https://docs.openstack.org/api/openstack-identity/3/ext/OS-FEDERATION/1.0/param/protocol_id'}))]¶
- resources = []¶
- class keystone.api.os_federation.OSFederationAuthResource[source]¶
Bases:
flask_restful.Resource
- get(idp_id, protocol_id)[source]¶
Authenticate from dedicated uri endpoint.
- GET/HEAD /OS-FEDERATION/identity_providers/
{idp_id}/protocols/{protocol_id}/auth
- methods: ClassVar[Optional[Collection[str]]] = {'GET', 'POST'}¶
The methods this view is registered for. Uses the same default (
["GET", "HEAD", "OPTIONS"]
) asroute
andadd_url_rule
by default.
- class keystone.api.os_federation.OSFederationIdentityProvidersAPI(blueprint_url_prefix='', api_url_prefix='', default_mediatype='application/json', decorators=None, errors=None)[source]¶
Bases:
keystone.server.flask.common.APIBase
- resource_mapping = []¶
- resources = [<class 'keystone.api.os_federation.IdentityProvidersResource'>]¶
- class keystone.api.os_federation.OSFederationIdentityProvidersProtocolsAPI(blueprint_url_prefix='', api_url_prefix='', default_mediatype='application/json', decorators=None, errors=None)[source]¶
Bases:
keystone.server.flask.common.APIBase
- resource_mapping = [resource_map(resource=<class 'keystone.api.os_federation.IDPProtocolsCRUDResource'>, url='/OS-FEDERATION/identity_providers/<string:idp_id>/protocols/<string:protocol_id>', alternate_urls=None, kwargs={}, json_home_data=json_home_data(rel='https://docs.openstack.org/api/openstack-identity/3/ext/OS-FEDERATION/1.0/rel/identity_provider_protocol', status='stable', path_vars={'idp_id': 'https://docs.openstack.org/api/openstack-identity/3/ext/OS-FEDERATION/1.0/param/idp_id', 'protocol_id': 'https://docs.openstack.org/api/openstack-identity/3/ext/OS-FEDERATION/1.0/param/protocol_id'})), resource_map(resource=<class 'keystone.api.os_federation.IDPProtocolsListResource'>, url='/OS-FEDERATION/identity_providers/<string:idp_id>/protocols', alternate_urls=None, kwargs={}, json_home_data=json_home_data(rel='https://docs.openstack.org/api/openstack-identity/3/ext/OS-FEDERATION/1.0/rel/identity_provider_protocols', status='stable', path_vars={'idp_id': 'https://docs.openstack.org/api/openstack-identity/3/ext/OS-FEDERATION/1.0/param/idp_id'}))]¶
- resources = []¶
- class keystone.api.os_federation.OSFederationMappingsAPI(blueprint_url_prefix='', api_url_prefix='', default_mediatype='application/json', decorators=None, errors=None)[source]¶
Bases:
keystone.server.flask.common.APIBase
- resource_mapping = []¶
- resources = [<class 'keystone.api.os_federation.MappingResource'>]¶
- class keystone.api.os_federation.OSFederationServiceProvidersAPI(blueprint_url_prefix='', api_url_prefix='', default_mediatype='application/json', decorators=None, errors=None)[source]¶
Bases:
keystone.server.flask.common.APIBase
- resource_mapping = []¶
- resources = [<class 'keystone.api.os_federation.ServiceProvidersResource'>]¶
- class keystone.api.os_federation.SAML2MetadataResource[source]¶
Bases:
flask_restful.Resource
- methods: ClassVar[Optional[Collection[str]]] = {'GET'}¶
The methods this view is registered for. Uses the same default (
["GET", "HEAD", "OPTIONS"]
) asroute
andadd_url_rule
by default.
- class keystone.api.os_federation.ServiceProvidersResource[source]¶
Bases:
keystone.api.os_federation._ResourceBase
- api_prefix = '/OS-FEDERATION'¶
- collection_key = 'service_providers'¶
- member_key = 'service_provider'¶
- methods: ClassVar[Optional[Collection[str]]] = {'DELETE', 'GET', 'PATCH', 'PUT'}¶
The methods this view is registered for. Uses the same default (
["GET", "HEAD", "OPTIONS"]
) asroute
andadd_url_rule
by default.