Comparison

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
comparison
equal deleted inserted replaced
12927:918dfbb330fd 12928:916af6fcef1e
32 new_verifier : function (algorithm, string, table) : verifier_t 32 new_verifier : function (algorithm, string, table) : verifier_t
33 _algorithms : { 33 _algorithms : {
34 algorithm : algorithm_t 34 algorithm : algorithm_t
35 } 35 }
36 -- Deprecated 36 -- Deprecated
37 sign : function (string : key, payload) : string 37 sign : function (private_key : string, payload) : string
38 verify : function (string) : payload 38 verify : function (string) : payload
39 end 39 end
40 return jwtlib 40 return jwtlib