Skip to content

Commit

Permalink
Algorithm base class methods now raise NotImplementedError
Browse files Browse the repository at this point in the history
  • Loading branch information
mark-adams committed Jan 6, 2015
1 parent 996d9c8 commit 4f99ba4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions jwt/algorithms.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 4f99ba4

Please sign in to comment.