aboutsummaryrefslogtreecommitdiffstats
path: root/teal-src/util/hashes.d.tl
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2022-07-11 13:28:29 +0100
committerMatthew Wild <mwild1@gmail.com>2022-07-11 13:28:29 +0100
commit23458111dcf59d6c64e77f3286dbaa752539b77a (patch)
tree46783940a629f9ad93a3b6bb7702d19b0b5003ba /teal-src/util/hashes.d.tl
parentfad58c5ab2fa449aea07eca2a99a1b5e30a22711 (diff)
downloadprosody-23458111dcf59d6c64e77f3286dbaa752539b77a.tar.gz
prosody-23458111dcf59d6c64e77f3286dbaa752539b77a.zip
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).
Diffstat (limited to 'teal-src/util/hashes.d.tl')
0 files changed, 0 insertions, 0 deletions