8000 doc · devel0/example-webapp-with-auth@c66e557 · GitHub
[go: up one dir, main page]

Skip to content

Commit c66e557

Browse files
committed
doc
1 parent d35ad14 commit c66e557

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

readme.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
- [adjust local dns](#adjust-local-dns)
1616
- [install root ca for local development](#install-root-ca-for-local-development)
1717
- [dev notes](#dev-notes)
18+
- [Websockets](#websockets)
1819
- [JWT auth access and refresh token](#jwt-auth-access-and-refresh-token)
1920
- [backend](#backend)
2021
- [run tests](#run-tests)
@@ -405,6 +406,10 @@ Installing root-ca certificate imply that certificates generated within that wil
405406

406407
## dev notes
407408

409+
### Websockets
410+
411+
for websockets example [see here](https://github.com/devel0/example-webapi/blob/9f683560af83111b11fb54e1e34c071718379baa/Controllers/SampleController.cs#L35)
412+
408413
### JWT auth access and refresh token
409414

410415
- authentication and authorization are managed entirely by the backend, in fact the frontend doesn't store any access token or restore token in local storage ; from the frontend side point of view the authentication is transparently managed through the browser `X-Access-Token` and `X-Refresh-Token` that the [server][23] sets after successful login through `Set-Cookie` header ( the frontend only call the login and logout webapi without storing anything on javascript side ):

0 commit comments

Comments
 (0)
0