Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitbfce91b

Browse files
committed
Fixing minor comments
1 parent9e411fe commitbfce91b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎cookbook/security/guard-api-key.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,9 @@ that to authenticate the user. To do this, create a class that extends
4646
return;
4747
}
4848

49-
return[
49+
returnarray(
5050
'token' => $token,
51-
];
51+
);
5252
}
5353

5454
public function authenticate($credentials, UserProviderInterface $userProvider)
@@ -241,7 +241,7 @@ and your new ``app.token_authenticator`` authenticator:
241241
'pattern' => '^/',
242242
'stateless' => true,
243243
'anonymous' => true,
244-
'simple_preauth' => array(
244+
'guard' => array(
245245
'authenticators' => array(
246246
'app.token_authenticator'
247247
),

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp