Skip to content

Commit 370fd37

Browse files
committed
linting
Signed-off-by: alexmerlin <alex.merlin.1985@gmail.com>
1 parent 874e951 commit 370fd37

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

docs/book/v4/tutorials/token-authentication.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,12 @@ identified from the access token sent via the `Authorization` header.
1414
When DotKernel API receives a request, it tries to read the access token.
1515

1616
If it does not find an access token, client has `guest` role:
17+
1718
- if the requested endpoint needs no authentication, the requested resource is returned
1819
- else, a `403 Forbidden` response is returned
20+
1921
Else, client's account is identified and client has `admin`/`user` role (the one assigned in their account)
22+
2023
- if the requested endpoint is accessible to the client, the requested resource is returned
2124
- else, a `403 Forbidden` response is returned
2225

0 commit comments

Comments
 (0)