*(minor): small refactor
This commit is contained in:
9
passbook/providers/saml/exceptions.py
Normal file
9
passbook/providers/saml/exceptions.py
Normal file
@ -0,0 +1,9 @@
|
||||
"""passbook SAML IDP Exceptions"""
|
||||
|
||||
|
||||
class CannotHandleAssertion(Exception):
|
||||
"""This processor does not handle this assertion."""
|
||||
|
||||
|
||||
class UserNotAuthorized(Exception):
|
||||
"""User not authorized for SAML 2.0 authentication."""
|
||||
Reference in New Issue
Block a user