From d0fa39472a557aaf7c5475af7a736f66ffbe499d Mon Sep 17 00:00:00 2001 From: Barnaby Walters Date: Sun, 13 Jun 2021 00:19:41 +0200 Subject: [PATCH] ditto in README --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index f0214fa..b470ad3 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,7 @@ $server = new Taproot\IndieAuth\Server([ // An authentication callback function, which either returns data about the current user, // or redirects to/implements an authentication flow. - 'handleAuthenticationRequestCallback' => function (ServerRequestInterface $request, string $authenticationRedirect, ?string $normalizedMeUrl) { + 'authenticationHandler' => function (ServerRequestInterface $request, string $authenticationRedirect, ?string $normalizedMeUrl) { // If the request is authenticated, return an array with a `me` key containing the // canonical URL of the currently logged-in user. if ($userUrl = getLoggedInUserUrl($request)) {