Diff

teal-src/util/jwt.d.tl @ 12928:916af6fcef1e

util.jwt: Fixup argument and type order
author Kim Alvefur <zash@zash.se>
date Fri, 10 Mar 2023 13:58:14 +0100
parent 12926:f9e474cb86ac
child 12929:245ffbb06f55
line wrap: on
line diff
--- a/teal-src/util/jwt.d.tl	Fri Mar 10 12:33:02 2023 +0100
+++ b/teal-src/util/jwt.d.tl	Fri Mar 10 13:58:14 2023 +0100
@@ -34,7 +34,7 @@
 		algorithm : algorithm_t
 	}
 	-- Deprecated
-	sign : function (string : key, payload) : string
+	sign : function (private_key : string, payload) : string
 	verify : function (string) : payload
 end
 return jwtlib