1
0
Fork 0
mirror of https://github.com/zigzap/zap.git synced 2025-10-20 15:14:08 +00:00

fix auth doc

This commit is contained in:
Rene Schallner 2023-05-20 03:41:36 +02:00
parent d907febc5f
commit 027ad41d0f

View file

@ -9,7 +9,7 @@ authentication, see the [UserPassSessionAuth](../src/http_auth.zig#L319) and its
For convenience, Authenticator types exist that can authenticate requests.
Zap also provides an `AuthenticatingEndpoint` endpoint-wrapper. Have a look at the [example](../examples/endpoint_auth) [tests](../src/tests/test_auth.zig)
Zap also provides an `AuthenticatingEndpoint` endpoint-wrapper. Have a look at the [example](../examples/endpoint_auth) and the [tests](../src/tests/test_auth.zig).
The following describes the Authenticator types. All of them provide the
`authenticateRequest()` function, which takes a `zap.SimpleRequest` and returns