File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -86,7 +86,7 @@ This requires you to implement several methods::
8686
8787 /**
8888 * Called on every request to decide if this authenticator should be
89- * used for the request. Returning false will cause this authenticator
89+ * used for the request. Returning ` false` will cause this authenticator
9090 * to be skipped.
9191 */
9292 public function supports(Request $request)
@@ -106,7 +106,8 @@ This requires you to implement several methods::
106106 public function getUser($credentials, UserProviderInterface $userProvider)
107107 {
108108 if (null === $credentials) {
109- // The token header was empty, authentication fails with 401
109+ // The token header was empty, authentication fails with HTTP Status
110+ // Code 401 "Unauthorized"
110111 return null;
111112 }
112113
@@ -134,7 +135,7 @@ This requires you to implement several methods::
134135 public function onAuthenticationFailure(Request $request, AuthenticationException $exception)
135136 {
136137 $data = [
137- // you may ant to customize or obfuscate the message first
138+ // you may want to customize or obfuscate the message first
138139 'message' => strtr($exception->getMessageKey(), $exception->getMessageData())
139140
140141 // or to translate this message
You can’t perform that action at this time.
0 commit comments