/**
* Process the 'zrl' parameter and initiate the remote authentication.
- *
+ *
* This method checks if the visitor has a public contact entry and
* redirects the visitor to his/her instance to start the magic auth (Authentication)
* process.
- *
+ *
* Ported from Hubzilla: https://framagit.org/hubzilla/core/blob/master/include/channel.php
- *
+ *
* @param App $a Application instance.
*/
public static function zrlInit(App $a)
* OpenWebAuth authentication.
*
* Ported from Hubzilla: https://framagit.org/hubzilla/core/blob/master/include/zid.php
- *
+ *
* @param string $token
*/
public static function openWebAuthInit($token)
/**
* Stip zrl parameter from a string.
- *
+ *
* @param string $s The input string.
* @return string The zrl.
*/
/**
* Stip query parameter from a string.
- *
+ *
* @param string $s The input string.
* @return string The query parameter.
*/