Improved naming of authentication callback config key

This commit is contained in:
Barnaby Walters
2021-06-13 00:19:16 +02:00
parent 62d02dacc0
commit 7f1cb9e8b2
4 changed files with 7 additions and 7 deletions

View File

@@ -111,7 +111,7 @@ YOUR_HASHED_PASSWORD = password_hash('my super strong password', PASSWORD_DEFAUL
use Taproot\IndieAuth;
$server = new IndieAuth\Server([
'handleAuthenticationRequestCallback' => new IndieAuth\Callback\SingleUserPasswordAuthenticationCallback(
'authenticationHandler' => new IndieAuth\Callback\SingleUserPasswordAuthenticationCallback(
['me' => 'https://me.example.com/'],
YOUR_HASHED_PASSWORD
)