2020-02-20 20:33:45 +00:00
|
|
|
"""passbook saml source exceptions"""
|
2020-02-20 20:37:14 +00:00
|
|
|
from passbook.lib.sentry import SentryIgnoredException
|
2020-02-20 20:33:45 +00:00
|
|
|
|
|
|
|
|
2020-02-20 20:37:14 +00:00
|
|
|
class MissingSAMLResponse(SentryIgnoredException):
|
2020-02-20 20:33:45 +00:00
|
|
|
"""Exception raised when request does not contain SAML Response."""
|
|
|
|
|
|
|
|
|
2020-02-20 20:37:14 +00:00
|
|
|
class UnsupportedNameIDFormat(SentryIgnoredException):
|
2020-02-20 20:33:45 +00:00
|
|
|
"""Exception raised when SAML Response contains NameID Format not supported."""
|