what's the approach to use for defining a controller to needing an oauth token?

20 views
Skip to first unread message

greghauptmann

unread,
Feb 14, 2012, 12:59:24 AM2/14/12
to OAuth Ruby
what's the approach to use for defining a controller to needing an
oauth token?

that is separately to the concept of having an
"before_filter :authenticate_user!" for authentication (via devise),
how can I on top of this indicate which controller also require an
oauth token, such that if they don't yet have it they will be
automatically redirected to the oauth plugin pages that offers the
ability for them to go through this process...

Reply all
Reply to author
Forward
0 new messages