aboutsummaryrefslogtreecommitdiffstats
path: root/teal-src/util
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2023-03-10 13:58:14 +0100
committerKim Alvefur <zash@zash.se>2023-03-10 13:58:14 +0100
commit7623bc24de3d0196a3dd5297320618880dddba81 (patch)
tree578515003caf2b3d1a541964e8a9d55d0d000f6a /teal-src/util
parentc425da3c6a74f92bb2ee30ac1caeff7312f1b8bd (diff)
downloadprosody-7623bc24de3d0196a3dd5297320618880dddba81.tar.gz
prosody-7623bc24de3d0196a3dd5297320618880dddba81.zip
util.jwt: Fixup argument and type order
Diffstat (limited to 'teal-src/util')
-rw-r--r--teal-src/util/jwt.d.tl2
1 files changed, 1 insertions, 1 deletions
diff --git a/teal-src/util/jwt.d.tl b/teal-src/util/jwt.d.tl
index e21a4b8a..ec501bfa 100644
--- a/teal-src/util/jwt.d.tl
+++ b/teal-src/util/jwt.d.tl
@@ -34,7 +34,7 @@ local record jwtlib
algorithm : algorithm_t
}
-- Deprecated
- sign : function (string : key, payload) : string
+ sign : function (private_key : string, payload) : string
verify : function (string) : payload
end
return jwtlib