if sessions are enabled web2py services will return the session cookie
(as for regular pages), if you return that as a cookie it will
authenticate the user without passin credentials again.  There is no
other mechanism.

On Jun 6, 5:21 am, desfrenes <desfre...@gmail.com> wrote:
> On Jun 6, 12:09 pm, Alexei Vinidiktov <alexei.vinidik...@gmail.com>
> wrote:
>
> > I wish server-side token generation and handling would be implemented
> > in web2py proper.
>
> I'm not sure there can be a generic response to this since the nature
> of both the token and the token store can be different from one
> project to another. The token could be time-based or the user id
> signed or both... the store could be ram cache, database, disk cache,
> etc...
>
> > BASIC authentication for services was added to web2py recently, but
> > I'm at a loss as to how to actually use it. I asked a question about
> > it in a different thread, but got no answer so far...
>
> If it has been added only recently, the best is to ask Massimo.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to