Made abc.ABC as a super class for BaseAuthentication.

This commit is contained in:
mentix02 2020-06-11 16:53:59 -07:00
parent b677b7b15d
commit 6607c63483

View File

@ -1,6 +1,7 @@
"""
Provides various authentication policies.
"""
import abc
import base64
import binascii
@ -30,7 +31,7 @@ class CSRFCheck(CsrfViewMiddleware):
return reason
class BaseAuthentication:
class BaseAuthentication(abc.ABC):
"""
All authentication classes should extend BaseAuthentication.
"""