summaryrefslogtreecommitdiff
path: root/jwt/algorithms.py
diff options
context:
space:
mode:
Diffstat (limited to 'jwt/algorithms.py')
-rw-r--r--jwt/algorithms.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/jwt/algorithms.py b/jwt/algorithms.py
index 427dafd..1fd0ca0 100644
--- a/jwt/algorithms.py
+++ b/jwt/algorithms.py
@@ -41,13 +41,13 @@ def _register_default_algorithms():
class Algorithm(object):
def prepare_key(self, key):
- pass
+ raise NotImplementedError
def sign(self, msg, key):
- pass
+ raise NotImplementedError
def verify(self, msg, key, sig):
- pass
+ raise NotImplementedError
class NoneAlgorithm(Algorithm):