module Garden::Supabase
Defined in:
supabase.crConstant Summary
-
JWT_SECRET =
ENV["SUPABASE_JWT"]
-
PROJECT =
ENV["SUPABASE_PROJECT"]
-
SERVICE_KEY =
ENV["SUPABASE_KEY"]
-
SERVICES =
["google", "discord", "gravatar"]
Class Method Summary
- .get_user(id : UUID) : User
- .resolve_avatar_source(user : User, service : String) : String | Nil
- .verify_auth(token : String, ctx : HTTP::Server::Context) : UUID | Nil