keystone.federation.idp.
ECPGenerator
[source]¶Bases: object
A class for generating an ECP assertion.
keystone.federation.idp.
MetadataGenerator
[source]¶Bases: object
A class for generating SAML IdP Metadata.
generate_metadata
()[source]¶Generate Identity Provider Metadata.
Generate and format metadata into XML that can be exposed and consumed by a federated Service Provider.
Returns: | XML <EntityDescriptor> object. |
---|---|
Raises: | keystone.exception.ValidationError – If the required config options aren’t set. |
keystone.federation.idp.
SAMLGenerator
[source]¶Bases: object
A class to generate SAML assertions.
samlize_token
(issuer, recipient, user, user_domain_name, roles, project, project_domain_name, expires_in=None)[source]¶Convert Keystone attributes to a SAML assertion.
Parameters: |
|
---|---|
Returns: | XML <Response> object |
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.