ditto in README

This commit is contained in:
Barnaby Walters 2021-06-13 00:19:41 +02:00
parent 7f1cb9e8b2
commit d0fa39472a
1 changed files with 1 additions and 1 deletions

View File

@ -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)) {