module Ktistec::JWT

Defined in:

framework/jwt.cr

Class Method Summary

Class Method Detail

def self.decode(token, secret_key = Ktistec.secret_key) #

Decodes the token. Returns the payload.


[View source]
def self.encode(payload, secret_key = Ktistec.secret_key) #

Encodes the payload. Generates a token.


[View source]
def self.expired?(payload) #

[View source]