aboutsummaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2023-10-16 23:51:52 +0200
committerKim Alvefur <zash@zash.se>2023-10-16 23:51:52 +0200
commit0cd9aba8e27235e1bcb741d7b5f2026827923f14 (patch)
tree2c7d48b553ab94617e541bd85a30ee9d833bc4ca /util
parent9d47a1a9efb7b3b9cb56644ef29132f50e14651d (diff)
downloadprosody-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 'util')
0 files changed, 0 insertions, 0 deletions