Interface Design #2
marcqualie
started this conversation in
Ideas
Replies: 1 comment
-
|
This all looks good. And then at some point down the road, we can have a config file for |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
High level goal for how we want this gem to be used inside a rails application.
Installation
Usage
A user would post their credentials to the
/api/authendpoint, which would return a JWT token or a 401 response if not authorised.Controllers
A controller has access to
user_signed_in? (boolean)andcurrent_user (User|nil). These are also exposed to views.Beta Was this translation helpful? Give feedback.
All reactions