We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
$authenticators
$defaultAuthenticator
1 parent ed7b7e5 commit a185a33Copy full SHA for a185a33
docs/references/authentication/authentication.md
@@ -12,7 +12,7 @@ You can see the [Authenticator List](../../getting_started/authenticators.md).
12
The available authenticators are defined in `Config\Auth`:
13
14
```php
15
-public $authenticators = [
+public array $authenticators = [
16
// alias => classname
17
'session' => Session::class,
18
'tokens' => AccessTokens::class,
@@ -24,7 +24,7 @@ public $authenticators = [
24
The default authenticator is also defined in the configuration file, and uses the alias given above:
25
26
27
-public $defaultAuthenticator = 'session';
+public string $defaultAuthenticator = 'session';
28
```
29
30
## Auth Helper
0 commit comments