mirror of
https://github.com/zigzap/zap.git
synced 2025-10-20 23:24:09 +00:00
lil doc update
This commit is contained in:
parent
94fe2d24c2
commit
81f38d6605
1 changed files with 6 additions and 1 deletions
|
@ -1,6 +1,11 @@
|
||||||
# Authentication
|
# Authentication
|
||||||
|
|
||||||
Zap supports both Basic and Bearer authentication.
|
Zap supports both Basic and Bearer authentication which are based on HTTP
|
||||||
|
headers.
|
||||||
|
|
||||||
|
For a cookie-based ("session token", not to mistake for "session cookie")
|
||||||
|
authentication, see the [UserPassSessionAuth](../src/http_auth.zig#L312) and its
|
||||||
|
[example](../examples/userpass_session_auth/).
|
||||||
|
|
||||||
For convenience, Authenticator types exist that can authenticate requests.
|
For convenience, Authenticator types exist that can authenticate requests.
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue