Solerian::Auth
Constants
STORAGE = Path["./user.db.json"]
USERS = File.open(STORAGE, "r") do |f| Hash(String, User).from_json(f) end
Class methods
assert_auth(ctx)
Sourcecheck_login(ctx : HTTP::Server::Context, username : String | Nil, secret : String | Nil) : String
Sourceuser?(ctx)
Sourceusername(ctx)
Source