AuthxCredential.validate - Multiple changes
authorTim Otten <totten@civicrm.org>
Tue, 11 Apr 2023 05:17:40 +0000 (22:17 -0700)
committerTim Otten <totten@civicrm.org>
Tue, 11 Apr 2023 05:18:11 +0000 (22:18 -0700)
commit4ee3a38952a948bf08954b4d9870f8dbc53f93ac
treef31cbe7c7c41997fc6197bfbc83c086ca0a7ae55
parent3ccf780e00b9598a1893d27aeb0eb36fa4fafbaf
AuthxCredential.validate - Multiple changes

* Fix crash for undefined reference to `AuthenticatorTarget`
    * This is a private class.
* Expect a credential instead of bare token
* Fix types on setter/getter
* Accept optional `$flow`. Make default visible.
ext/authx/Civi/Api4/Action/AuthxCredential/Validate.php
ext/authx/Civi/Authx/Authenticator.php