srctree

df1c50ba add minimal docs to Provider
Gregory Mullen parent dad4de59
dad4de59 expand invalid auth helper
Gregory Mullen parent aaf47a1b
aaf47a1b move CookieAuth into auth/cookie.zig
Gregory Mullen parent d8064f06
d8064f06 move auth.mtls into mtls.zig
Gregory Mullen parent 9d15d5d3
9d15d5d3 Merge branch main into auth
Gregory Mullen parent 06f997e2parent 1e5e268d
06f997e2 add doc comments for auth
Gregory Mullen parent 9aeaf8c8
9aeaf8c8 use \0 instead of : in cookie auth
Gregory Mullen parent 4d1392bb
4d1392bb be restrictive about unique_id vs username in auth
Gregory Mullen parent 66a298b3
66a298b3 enforce max age on cookie auth
Gregory Mullen parent a96b42a4
a96b42a4 add version to cookie auth
Gregory Mullen parent 2dc6c09b
2dc6c09b document the auth example
Gregory Mullen parent 353f5b4b
353f5b4b fix cookieauth name
also improved readability a bit
Gregory Mullen parent 302556f2
302556f2 cookie validation works
Gregory Mullen parent 945724f5
945724f5 add cookie auth example & reduce cookie gen state
Gregory Mullen parent a379304f
a379304f add support for more redirects to frame response
Gregory Mullen parent 8c0769c2
8c0769c2 add new generic network error
Gregory Mullen parent bc36f0a9
bc36f0a9 add missing same site cookie seperator
Gregory Mullen parent 7564fe07
7564fe07 push through frame auth provider
Gregory Mullen parent e9aba6a1
e9aba6a1 change server API to include auth
no, i don't really like it, in fact, I hate this, but I can fix it in post
Gregory Mullen parent 7a5c7081
7a5c7081 create cookie sessions
Gregory Mullen parent 22296a6f
22296a6f add provider test
Gregory Mullen parent e0cfca11
e0cfca11 add auth createSession function
Gregory Mullen parent 6df64187
6df64187 rename auth.Provider default -> empty
Gregory Mullen parent b6bdaf76
b6bdaf76 simplify mtls auth vtable and improve docs
Gregory Mullen parent e51a4fba
e51a4fba fix return bug in auth.Provider
Gregory Mullen parent 896fec20
896fec20 add contrib docs for nginx/mTLS
Gregory Mullen parent 7aa168b5
7aa168b5 make endpoints somewhat recursive
Gregory Mullen parent 152361cc
152361cc router docs and tests
Gregory Mullen parent 5c2af8ec
5c2af8ec refactor and test uri iterator
Gregory Mullen parent e1bf8473
e1bf8473 move frame.zig imports
Gregory Mullen parent 15c05a2a
15c05a2a move html into template/
Gregory Mullen parent 58b9aea8
58b9aea8 reduce compelexity of new namespacing
Gregory Mullen parent e40bf016
e40bf016 remove ini code
Jeremy Hertel parent 61746c43
61746c43 rename root.zig to verse.zig
Jeremy Hertel parent f1a421a1
f1a421a1 rename verse.zig to root.zig
Jeremy Hertel parent e63abb15
e63abb15 simplify some exports and don't export @This() when possible
Jeremy Hertel parent 482ad1f5
482ad1f5 fixed an error and removed a couple unused imports
Jeremy Hertel parent 56cf5baf
56cf5baf fix a couple imports
Jeremy Hertel parent 1b7e87c7
1b7e87c7 delete authorization.zig and authentication.zig
Jeremy Hertel parent 94cbe3d6
94cbe3d6 rename Verse struct to Frame
Jeremy Hertel parent 6e2a9fa9
6e2a9fa9 rework namespaces to reduce duplication and typing
Jeremy Hertel parent 77c4aaac
77c4aaac implemented functional Auth via mTLS
Gregory Mullen parent 983db413
983db413 improve warning comment
Gregory Mullen parent ff8fcb1b
ff8fcb1b remove Auth as a object
This make a few other changes too. e.g. it reduces the amount of state available...
Gregory Mullen parent a85c7cd8
a85c7cd8 remove AnyAuth and promote Provider to cannon type
Gregory Mullen parent 7228c78f
7228c78f simplify cookie creation API, fix nginx uwsgi http header
Gregory Mullen parent b1574ce5
b1574ce5 expand the server API to take an Auth handler
Gregory Mullen parent 90996fb3
90996fb3 turn auth functions into a VTable
Gregory Mullen parent 9103a895
9103a895 add formater for headers to help with debugging
Gregory Mullen parent 0ebc8840
0ebc8840 move imports to eof
Gregory Mullen parent 369f5ee0
More