https://www.django-rest-framework.org/api-guide/authentication/#tokenauthentication
https://stackoverflow.com/questions/31813572/access-token-from-view#:~:text=You%20can%20get%20the%20token,access%20it%20with%20the%20request.
request.auth will return the token object
No comments:
Post a Comment