Did you look here: http://web2py.com/book/default/chapter/09#Services-and-Authentication Anthony
On Thursday, February 17, 2011 8:50:56 PM UTC-5, elffikk wrote:
> I want to do that
>
> @auth.requires_login()
> @service.amfrpc3('myservice')
> def item_list():
> return [1,2,3]
>
> but of course it will not work as it can't redirect to login form,
> how to use then authentication and authorization here?

