File size: 295 Bytes
43d5999
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
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."""