JWT module of PicoRuby

Singleton methods

decode

JWT.decode(String token, ?String|nil secret, ?bool validate) -> [Object, Hash[String, Object]]

encode

JWT.encode(String payload, ?String|nil secret, ?String algorithm, ?Hash[String ,String] headers ) -> String
Tags: