Civi::pipe - Comply with newer `authx_login()` contract. Declare flow names.
authorTim Otten <totten@civicrm.org>
Thu, 13 Jan 2022 21:36:20 +0000 (13:36 -0800)
committerTim Otten <totten@civicrm.org>
Thu, 13 Jan 2022 21:48:19 +0000 (13:48 -0800)
commit02dc5c62a71143e8606db34676e2ae98087ae450
treea999f7f58ab84e6f7d92784f365eadd2929030f8
parent870ffb264d5a5bdf4c2c70dd38f2a0e10a60f022
Civi::pipe - Comply with newer `authx_login()` contract. Declare flow names.

1. The original Civi::pipe() patch was built on a draft version of `authx_login()`. The
   signature changed during review.
2. The original Civi::pipe() patch hacked the `flow` name - ie it used the
   flow name `xheader` even though it wasn't HTTP-based. Now, it
   uses either the existing `script` flow (for trusted/backend/principal-asserted runtimes)
   or the new `pipe` flow (for untrusted/credential-based runtimes).
Civi/Pipe/PublicMethods.php
ext/authx/settings/authx.setting.php