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) -> String
Tags: