diff --git a/docs/classes/Taproot-IndieAuth-Server.html b/docs/classes/Taproot-IndieAuth-Server.html index fabcf64..8636606 100644 --- a/docs/classes/Taproot-IndieAuth-Server.html +++ b/docs/classes/Taproot-IndieAuth-Server.html @@ -805,7 +805,7 @@ documentation for both handling methods for further documentation about them.
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.
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. *