Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def delete(conn, _params) do
- jwt = Guardian.Plug.current_token(conn)
- {:ok, claims} = Guardian.Plug.claims(conn)
- Guardian.revoke!(jwt, claims)
- # ...
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement