diff options
author | Kim Alvefur <zash@zash.se> | 2023-10-16 23:51:52 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2023-10-16 23:51:52 +0200 |
commit | 0cd9aba8e27235e1bcb741d7b5f2026827923f14 (patch) | |
tree | 2c7d48b553ab94617e541bd85a30ee9d833bc4ca /tools/erlparse.lua | |
parent | 9d47a1a9efb7b3b9cb56644ef29132f50e14651d (diff) | |
download | prosody-0cd9aba8e27235e1bcb741d7b5f2026827923f14.tar.gz prosody-0cd9aba8e27235e1bcb741d7b5f2026827923f14.zip |
mod_tokenauth: Delete grants without tokens after period
Generally it is expected that a grant would have at least one token as
long as the grant is in active use.
Refresh tokens issued by mod_http_oauth2 have a lifetime of one week by
default, so the idea here is that if that refresh token expired and
another week goes by without the grant being used, then the whole grant
can be removed.
Diffstat (limited to 'tools/erlparse.lua')
0 files changed, 0 insertions, 0 deletions