element_kit v0.5.0 ElementKit.AssignJWT
Catches requests with auth_token in the params and verifies that JWT with
the ElementKit.JWT module.
On success, it will assign the following variables to the conn:
element_claims%ElementKit.JWT.Claims{}structelement_user%ElementKit.User{}structelement_mandate%ElementKit.Mandate{}struct
In case of an error, it will render an ugly error page
Link to this section Summary
Link to this section Functions
Link to this function
call(conn, _)
Link to this function
check_token(conn, token)
Link to this function
init(_)
Link to this function
make_mandate(claims, params)
Link to this function