attstore / saml /exceptions.py
dn-scribe's picture
1st try: add saml support
43d5999
Raw History Blame Contribute Delete
295 Bytes
class SamlError(Exception):
"""Base exception for SAML failures."""
class SamlConfigurationError(SamlError):
"""Raised when an IdP/SP configuration issue prevents SAML auth."""
class SamlProvisioningError(SamlError):
"""Raised when we cannot map an assertion to a local user."""