Commit 759c589
committed
test: Add example configuration and tests for endpoint-level auth
**Configuration:**
- Update config.yaml with endpoint-level auth example
- Add basic auth credentials and public endpoint markers
- Configure SQLite storage for testing
**Tests:**
- Add test for default auth level (global)
- Add test for invalid auth level validation
- Fix config test formatting
This demonstrates the endpoint-level authentication feature
where authentication is optional but filters visible data.1 parent d0b30eb commit 759c589
2 files changed
+18
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
| 59 | + | |
59 | 60 | | |
60 | 61 | | |
61 | 62 | | |
| |||
1814 | 1815 | | |
1815 | 1816 | | |
1816 | 1817 | | |
1817 | | - | |
1818 | | - | |
| 1818 | + | |
| 1819 | + | |
1819 | 1820 | | |
1820 | 1821 | | |
1821 | 1822 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
20 | 35 | | |
21 | 36 | | |
22 | 37 | | |
| |||
0 commit comments