Software / code / prosody-modules
File
mod_cache_c2s_caps/README.markdown @ 5448:9d542e86e19a
mod_http_oauth2: Allow requesting a subset of scopes on token refresh
This enables clients to request access tokens with fewer permissions
than the grant they were given, reducing impact of token leak. Clients
could e.g. request access tokens with some privileges and immediately
revoke them after use, or other strategies.
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Thu, 11 May 2023 21:40:09 +0200 |
| parent | 3461:b54e98d5c4a1 |
line wrap: on
line source
--- summary: Cache caps on user sessions --- Description =========== This module listens on presences containing caps (XEP-0115) and asks the client for the corresponding disco#info if it changed. It fires the c2s-capabilities-changed event once the disco#info result is received. Compatibility ============= ------- --------------- trunk Works 0.11 Does not work 0.10 Does not work ------- ---------------