You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to haske...@googlegroups.com
I have a scotty app I have been toying with for an api. I would like to be able to check authentication (stateless api key) on a per route basis and if the user is authenticated then store that user's info in the Request vault so I can access it down the chain to do different authorizations or scope on db calls. It looks like in scotty middleware are called on all routes. I am looking for some ideas or recommendations on how to go about this.
Thanks
Brandon
Greg Weber
unread,
Dec 5, 2014, 10:26:44 PM12/5/14
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to haske...@googlegroups.com
Did you figure this out? This is a technique to share auth code across all frameworks that is used in the Ruby world.