Commit Graph

9 Commits

Author SHA1 Message Date
Tim Condon 822e65cb07
Auth Docs Strict Concurrency Checking (#1062)
<!-- 🚀 Thank you for contributing! -->

<!-- Describe your changes clearly and use examples if possible. -->

<!-- When this PR is merged, the title and body will be -->
<!-- used to generate a release automatically. -->
2025-02-11 00:27:50 +00:00
Fang Ling 0005a29eba
fix typo & add missing 'with' argument label (#980) 2024-05-20 16:07:08 +00:00
Paul Toffoloni 7597c7f464
Update JWT references for JWTKit 5 (#977)
Co-authored-by: Tim Condon <0xTim@users.noreply.github.com>
2024-05-15 09:48:48 +00:00
Stephen Beitzel 98ef20c9d7
Add a tip about model middleware to authentication example (#863)
The example we use for `ModelAuthenticatable` is a `User` identified by
an email address. Email addresses are case-insensitive, while the
`ModelAuthenticatable` that ships with `Fluent` is case sensitive. This
means that an application that follows the example naively would
consider `SomeUser@example.com` and `someuser@example.com` to be two
different users. This is easily addressed with model middleware that
converts the email address to lowercase before saving a `User`, but that
example is elsewhere in the documentation.

This change simply calls out this possibility in a tip section and links
to the model middleware section of the docs.
2023-08-05 16:45:05 +00:00
Henrik Christensen affde5fb5d
add note about session cookie (#760)
* add tip about session cookie

* change tip -> note

* add suggested change

---------

Co-authored-by: Tim Condon <0xTim@users.noreply.github.com>
2023-02-05 20:42:05 +00:00
Cristian Cardoso c5bc73f599
Fix typo in Documentation - Protecting Routes Section (#755) 2022-12-29 13:38:34 +00:00
Kyle Stubblefield 0fe2c349f5
Added closure documentation for redirect (#700) 2022-08-13 15:44:20 +01:00
Daniel Inoa c717d69574
Update authentication.md (#691) 2022-07-26 11:39:49 +01:00
晋先森 fee911560f
Support Chinese doc for Vapor. (#664)
* # Support Chinese doc for Vapor.

* # Added `zh/` path for searchIndex file.
2022-05-15 05:07:28 +01:00