Software /
code /
prosody
Comparison
plugins/mod_s2s_auth_certs.lua @ 12705:008a7097fdc5
util.jwt: Provide built-in token expiry support (defaults to 3600s lifetime)
To avoid every user of the library needing to add and verify expiry info, this
is now handled by util.jwt itself (if not overridden or disabled).
Issuing tokens that are valid forever is bad practice and rarely desired, and
the default token lifetime is now 3600s (1 hour).
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Mon, 11 Jul 2022 13:28:29 +0100 |
parent | 12480:7e9ebdc75ce4 |
child | 12808:12bd40b8e105 |
comparison
equal
deleted
inserted
replaced
12704:31a2bd84191d | 12705:008a7097fdc5 |
---|