class JWTData

Defined in:

lib/domain/jwt.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(username : String = "", role : String = "", iat : Int32 = 0, exp : Int32 = 0) #

[View source]

Class Method Detail

def self.from_base64(value : String) #

[View source]

Instance Method Detail

def exp : Int32 #

[View source]
def exp=(exp : Int32) #

[View source]
def iat : Int32 #

[View source]
def iat=(iat : Int32) #

[View source]
def role : String #

[View source]
def role=(role : String) #

[View source]
def username : String #

[View source]
def username=(username : String) #

[View source]