Fixed reference:

This commit is contained in:
Barnaby Walters 2021-06-13 12:49:23 +02:00
parent b53d5fc1da
commit 645ab833c5
2 changed files with 2 additions and 2 deletions

View File

@ -805,7 +805,7 @@ documentation for both handling methods for further documentation about them.</p
<p>The following keys are required:</p> <p>The following keys are required:</p>
<ul> <ul>
<li> <li>
<p><code class="prettyprint">handleAuthenticationRequestCallback</code>: a callable with the signature <p><code class="prettyprint">authenticationHandler</code>: a callable with the signature
<code class="prettyprint">function (ServerRequestInterface $request, string $authenticationRedirect, ?string $normalizedMeUrl): array|ResponseInterface</code>. <code class="prettyprint">function (ServerRequestInterface $request, string $authenticationRedirect, ?string $normalizedMeUrl): array|ResponseInterface</code>.
This function is called on IndieAuth authorization requests, after validating the query parameters.</p> This function is called on IndieAuth authorization requests, after validating the query parameters.</p>
<p>It should check to see if $request is authenticated, then:</p> <p>It should check to see if $request is authenticated, then:</p>

View File

@ -124,7 +124,7 @@ class Server {
* *
* The following keys are required: * 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`. * `function (ServerRequestInterface $request, string $authenticationRedirect, ?string $normalizedMeUrl): array|ResponseInterface`.
* This function is called on IndieAuth authorization requests, after validating the query parameters. * This function is called on IndieAuth authorization requests, after validating the query parameters.
* *