sources/saml: validate SAMLResponse signature
This commit is contained in:
9
passbook/sources/saml/exceptions.py
Normal file
9
passbook/sources/saml/exceptions.py
Normal file
@ -0,0 +1,9 @@
|
||||
"""passbook saml source exceptions"""
|
||||
|
||||
|
||||
class MissingSAMLResponse(Exception):
|
||||
"""Exception raised when request does not contain SAML Response."""
|
||||
|
||||
|
||||
class UnsupportedNameIDFormat(Exception):
|
||||
"""Exception raised when SAML Response contains NameID Format not supported."""
|
||||
Reference in New Issue
Block a user