Allow unauthenticed users to view areas of the site

16 views
Skip to first unread message

Wayne Douglas

unread,
Mar 7, 2014, 3:22:08 PM3/7/14
to servic...@googlegroups.com
Say I have a secure api method: getevents

I want unauthenticated users to be able to see parts of the data in that method but authenticated users to see all. 

Basically I want to be able to say if(IsAuthenticated) from within that method.

Thing is, by applying the authenticate attribute every one must be authed to be able to call it...

How are other people dealing with this? 2 methods? One for auth one for non auth?

Sent from Mailbox for iPhone
Reply all
Reply to author
Forward
0 new messages