diff options
author | Matthew Wild <mwild1@gmail.com> | 2023-03-01 13:01:21 +0000 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2023-03-01 13:01:21 +0000 |
commit | a58a6d2317ea9ca99a3e580db89303ee8041a7d6 (patch) | |
tree | 762b463e9e8e21a0ebd9e58d12cdb6d8dfc1a3f6 /core/loggingmanager.lua | |
parent | 16137b3b1437ee37538b4e55326c2518893354ad (diff) | |
download | prosody-a58a6d2317ea9ca99a3e580db89303ee8041a7d6.tar.gz prosody-a58a6d2317ea9ca99a3e580db89303ee8041a7d6.zip |
mod_tokenauth: Add 'purpose' constraint
This allows tokens to be tied to specific purposes/protocols. For example, we
shouldn't (without specific consideration) allow an OAuth token to be dropped
into a slot expecting a FAST token.
While FAST doesn't currently use mod_tokenauth, it and others may do in the
future. It's better to be explicit about what kind of token code is issuing or
expecting.
Diffstat (limited to 'core/loggingmanager.lua')
0 files changed, 0 insertions, 0 deletions