Mercurial > prosody-modules
view mod_smacks_noerror/mod_smacks_noerror.lua @ 5222:578a72982bb2
mod_http_oauth2: Separate extracting credentials from requests and verifying
The token endpoint also uses Basic auth, but the password would be the
client_secret, so we need to verify against that instead of using
test_password(). Splitting this up here avoids code duplication.
Possibly this new function could go into util.http...
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Tue, 07 Mar 2023 15:18:41 +0000 |
parents | e7dc25e54d02 |
children |
line wrap: on
line source
-- this module is deprecated, log an error and load the superseding modules instead module:depends"smacks" module:depends"nooffline_noerror" module:log("error", "mod_smacks_noerror is deprecated! Just use mod_smacks and load mod_nooffline_noerror if you explicitly disabled offline storage (mod_offline)");