Skip to content

Commit 74efcea

Browse files
authored
Improve wording
Thanks to #20
1 parent aa1d846 commit 74efcea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rails6/en/chapter04-athentification.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ $ git add . && git commit -m "Setup tokens controller"
294294

295295
So we implemented the following logic: API returns the authentication token to the client if credentials are correct.
296296

297-
We will now implement the following logic: we'll find corresponding user of authentication token given into the HTTP header. We'll need to do so each time this client requests a protected page.
297+
We will now implement the following logic: we'll find corresponding user of authentication token given into the HTTP header. We'll need to do so each time this client requests an entry point which requires permission.
298298

299299
We will use the HTTP header `Authorization` which is often used for this purpose. We may also use a GET parameter named `apiKey` but I prefer to use an HTTP header because it gives context to the request without polluting the URL with additional parameters.
300300

0 commit comments

Comments
 (0)