From d907febc5fb6955ce79bd0362a6dc23198c7f7c6 Mon Sep 17 00:00:00 2001 From: Rene Schallner Date: Sat, 20 May 2023 03:40:45 +0200 Subject: [PATCH] fixed links in auth doc --- doc/authentication.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/doc/authentication.md b/doc/authentication.md index 7bba4a8..2160ac8 100644 --- a/doc/authentication.md +++ b/doc/authentication.md @@ -9,9 +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 tests: [here](../src/test_auth.zig) +Zap also provides an `AuthenticatingEndpoint` endpoint-wrapper. Have a look at the [example](../examples/endpoint_auth) [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