module SessionUtils

Direct including types

Defined in:

lib/session_utils.cr

Instance Method Summary

Instance Method Detail

def current_user(username : String) #

[View source]
def current_user #

[View source]
def end_session #

[View source]
def notice(message : String) #

[View source]
def notice #

[View source]
def notice? #

[View source]
def pack_string(txt : String) #

safe string encoding inside cookies See https://tools.ietf.org/html/rfc6265#section-4.1.1


[View source]
def require_login #

[View source]
def unpack_string(txt : String) #

[View source]