Skip to content

Glossary: Django Beyond the Basics

Token

Also written: TokenAuthentication, token

A long random string that stands in for a username and password. The app stores it and sends it in the `Authorization: Token <key>` header, and `TokenAuthentication` checks it.

Where the book teaches it

Related terms

Authentication class, permission classdrf_create_token