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?
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?