Software /
code /
prosody
Comparison
plugins/mod_csi_simple.lua @ 12913:012fa81d1f5d
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.
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Wed, 01 Mar 2023 13:01:21 +0000 |
parent | 12552:b4bc5a715e65 |
child | 12977:74b9e05af71e |
comparison
equal
deleted
inserted
replaced
12912:44a78985471f | 12913:012fa81d1f5d |
---|