Skip to content

Commit 0856c2f

Browse files
committed
Added dbAuth middleware
1 parent 4e0ab9a commit 0856c2f

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -644,11 +644,11 @@ Currently there are three types of authentication supported. They all store the
644644
This variable can be used in the authorization handlers to decide wether or not sombeody should have read or write access to certain tables, columns or records.
645645
The following overview shows the kinds of authentication middleware that you can enable.
646646

647-
| Name | Middleware | Authenticated via | Users are stored in | Session variable |
648-
| -------- | ---------- | ---------------------- | ------------------- | --------------------- |
649-
| Database | dbAuth | '/login' endpoint | Database table | $_SESSION['user'] |
650-
| Basic | basicAuth | 'Authorization' header | '.htpasswd' file | $_SESSION['username'] |
651-
| JWT | jwtAuth | 'Authorization' header | identity provider | $_SESSION['claims'] |
647+
| Name | Middleware | Authenticated via | Users are stored in | Session variable |
648+
| -------- | ---------- | ---------------------- | ------------------- | ----------------------- |
649+
| Database | dbAuth | '/login' endpoint | database table | `$_SESSION['user']` |
650+
| Basic | basicAuth | 'Authorization' header | '.htpasswd' file | `$_SESSION['username']` |
651+
| JWT | jwtAuth | 'Authorization' header | identity provider | `$_SESSION['claims']` |
652652

653653
Below you find more information on each of the authentication types.
654654

0 commit comments

Comments
 (0)