From 645ab833c5a4ad18fbf79e1389446b83a207f74c Mon Sep 17 00:00:00 2001
From: Barnaby Walters
handleAuthenticationRequestCallback
: a callable with the signature
+
authenticationHandler
: a callable with the signature
function (ServerRequestInterface $request, string $authenticationRedirect, ?string $normalizedMeUrl): array|ResponseInterface
.
This function is called on IndieAuth authorization requests, after validating the query parameters.
It should check to see if $request is authenticated, then:
diff --git a/src/Server.php b/src/Server.php index b07f873..310760d 100644 --- a/src/Server.php +++ b/src/Server.php @@ -124,7 +124,7 @@ class Server { * * The following keys are required: * - * * `handleAuthenticationRequestCallback`: a callable with the signature + * * `authenticationHandler`: a callable with the signature * `function (ServerRequestInterface $request, string $authenticationRedirect, ?string $normalizedMeUrl): array|ResponseInterface`. * This function is called on IndieAuth authorization requests, after validating the query parameters. *