module JWT

Extended Modules

Defined in:

jwt.cr

Instance Method Summary

Instance Method Detail

def decode(token : String, key : String, algorithm : String) #

[View source]
def encode(payload, key : String, algorithm : String) : String #

[View source]
def encode_header(algorithm : String) : String #

[View source]
def encode_payload(payload) : String #

[View source]
def encoded_signature(algorithm : String, key : String, data : String) #

[View source]
def sign(algorithm : String, key : String, data : String) #

[View source]