(REF) authx - Add option for authenticator to emit exceptions
authorTim Otten <totten@civicrm.org>
Fri, 10 Dec 2021 05:51:22 +0000 (21:51 -0800)
committerTim Otten <totten@civicrm.org>
Tue, 21 Dec 2021 22:55:45 +0000 (14:55 -0800)
commitcf4a137715594c6f67e5764f2574b7bd00ed4eca
tree7f3145289aa9186a1fea9b2ff08a15fd2ab67e44
parent46a19be70eddce5cbe9766efff8a958e09f11c98
(REF) authx - Add option for authenticator to emit exceptions

Before: If the authenticator encounters an error, it sends a response document.

After: The authenticator encoutners an error, it may either:

- (Default) Send a response document
- (Option) Emit an exception
ext/authx/Civi/Authx/Authenticator.php
ext/authx/Civi/Authx/AuthxException.php [new file with mode: 0644]