You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/en/identifiers.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ that was extracted from the request by the authenticators. Identifiers
5
5
can take options in the `loadIdentifier` method. A holistic example of
6
6
using the Password Identifier looks like:
7
7
8
-
```php
8
+
```php
9
9
$identifier = [
10
10
'Authentication.Password' => [
11
11
'fields' => [
@@ -119,7 +119,7 @@ Configuration options:
119
119
120
120
Callback identifiers can either return `null|ArrayAccess` for simple results, or an `Authentication\Authenticator\Result` if you want to forward error messages:
121
121
122
-
```php
122
+
```php
123
123
// A simple callback identifier
124
124
$identifier = [
125
125
'Authentication.Callback' => [
@@ -186,7 +186,7 @@ reside under `App\Identifier\Resolver` namespace.
186
186
187
187
Resolver can be configured using `resolver` config option:
188
188
189
-
```php
189
+
```php
190
190
$identifier = [
191
191
'Authentication.Password' => [
192
192
'resolver' => [
@@ -201,15 +201,15 @@ $identifier = [
201
201
202
202
Or injected using a setter:
203
203
204
-
```php
204
+
```php
205
205
$resolver = new \App\Identifier\Resolver\CustomResolver();
0 commit comments