Authentication is the mechanism of associating an incoming request with a set of identifying credentials, such as the user the request came from, or the token that it was signed with.
The permission and throttling policies can then use those credentials to determine if the request should be permitted.
DRF token authentication
- The new drf_create_token django command for the authtoken application : Create DRF Token for a given user
- Create a user
- To create a token for a user
- To renew a compromise token ( drf_create_token -r )