Digest authentication as decorator

5 views
Skip to first unread message

schneck

unread,
Jan 13, 2010, 12:51:54 PM1/13/10
to Django REST interface
Hi there,

I set up the restapi, and it's working well. I wrote a
"digest_authfunc"-function according to the example, and it also works
well in conjunction with a user profile, where i stored the nonce-
value.
Now, I would like to reuse the digest-authentication part in a view,
preferably via a decorator. Is there any way to achieve this?

Thanks,
Stefan

Reply all
Reply to author
Forward
0 new messages