But you can define your own class, with two methods: challenge and
is_authenticated, look the class HttpBasicAuthentication at
https://bitbucket.org/jespern/django-piston/src/c4b2d21db51a/piston/authentication.py#cl-26
A different examplo could be the code in
https://github.com/jorgeecardona/django-apikey/blob/master/apikey/auth.py
and there is a way to authenticate request by a temporal token, with
the is_authenticated and challenge methods defined.
Everything is explained here:
https://bitbucket.org/jespern/django-piston/wiki/Documentation#!authentication
> --
> You received this message because you are subscribed to the Google Groups "django-piston" group.
> To post to this group, send email to django...@googlegroups.com.
> To unsubscribe from this group, send email to django-pisto...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/django-piston?hl=en.
>
>
--
Jorge Eduardo Cardona
jorgee...@gmail.com
jorgeecardona.blogspot.com
github.com/jorgeecardona
------------------------------------------------
Linux registered user #391186
Registered machine #291871
------------------------------------------------