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
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ Identifiers will identify a user or service based on the information
4
4
that was extracted from the request by the authenticators. A holistic example of
5
5
using the Password Identifier looks like:
6
6
7
-
```php
7
+
```php
8
8
$identifier = [
9
9
'Authentication.Password' => [
10
10
'fields' => [
@@ -118,7 +118,7 @@ Configuration options:
118
118
119
119
Callback identifiers can either return `null|ArrayAccess` for simple results, or an `Authentication\Authenticator\Result` if you want to forward error messages:
120
120
121
-
```php
121
+
```php
122
122
// A simple callback identifier
123
123
$identifier = [
124
124
'Authentication.Callback' => [
@@ -185,7 +185,7 @@ reside under `App\Identifier\Resolver` namespace.
185
185
186
186
Resolver can be configured using `resolver` config option:
187
187
188
-
```php
188
+
```php
189
189
$identifier = [
190
190
'Authentication.Password' => [
191
191
'resolver' => [
@@ -200,7 +200,7 @@ $identifier = [
200
200
201
201
Or pass the constructed resolver directly into the identifier configuration:
202
202
203
-
```php
203
+
```php
204
204
$resolver = new \App\Identifier\Resolver\CustomResolver();
0 commit comments