Thank's James.

Very clearly now.



Em domingo, 11 de setembro de 2016 19:13:45 UTC-3, James Schneider escreveu:
>
> On Sep 11, 2016 2:19 PM, "flaudizio" <flau...@gmail.com <javascript:>> 
> wrote:
> >
> > Hi guys,
> >
> > I'm a doubt about Django REST auth and an external app's (mobile, 
> desktop).
> >
> > When we work with django in browser we have a session auth. To use 
> session it's possible using django rest with an external app created in C 
> sharp ? Or need to work with tokens in external app consulting my Django 
> API REST ?
> >
>
> You can do either. As long as your app is intelligent enough to perform a 
> standard REST authentication and receive the session token. Most, if not 
> all, languages have libraries built-in to handle this easily.
>
> Token authentication can be used, but you generally see that deployed as a 
> service account for static resources (ie other servers) to communicate, and 
> are not meant to change very often. If you are planning on having the 
> credentials for your API cached in the local app long term, then a token 
> may be advisable.
>
> DRF supports both.
>
> -James
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/cca7a036-d15c-4887-a755-74e134f0d692%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to