1
Fork 0
mirror of https://github.com/Steffo99/sophon.git synced 2024-12-22 14:54:22 +00:00
sophon/backend/sophon/auth1.py
2021-08-07 03:25:59 +02:00

9 lines
222 B
Python

import rest_framework.authentication
class BearerTokenAuthentication(rest_framework.authentication.TokenAuthentication):
"""
A standard implementation of the Token Authentication.
"""
keyword = "Bearer"