module Utils::CurrentUser
Overview
Helper to grab user and authority from a request
Direct including types
Defined in:
controllers/utilities/current-user.crConstant Summary
-
Log =
::App::Log.for("authorize!")
Instance Method Summary
-
#authorize!
Parses, and validates JWT if present.
-
#check_admin
Read admin status from supplied request JWT
-
#check_support
Read support status from supplied request JWT
- #is_admin?
- #is_support?
-
#user_token : UserJWT
Getter for user_token