user146971
user146971

Reputation:

authenticate from Flex in Django with pyAMF

Maybe somebody can show an example of such a task, or specify where to look.

Upvotes: 1

Views: 639

Answers (2)

njoyce
njoyce

Reputation: 628

I would suggest taking a look at the example given by Joel Hooks.

Upvotes: 1

simplyharsh
simplyharsh

Reputation: 36373

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.

Upvotes: 0

Related Questions