简体   繁体   中英

authenticate from Flex in Django with pyAMF

也许有人可以显示此类任务的示例,或指定要查找的位置。

我建议看看乔尔·胡克斯(Joel Hooks)给出的例子

Download DjangoAMF for this.

Add the amf middleware to middlewares list in settings.py .

To authenticate you just have to use @permission_required decorator on views from amf.django

and add this to your settings.py

AMF_AUTH_FUNC = 'amf.django.authenticate'

Its tested in integrating Flex and DJango. For more details visit, DjangoAMF .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM