88from auth0 .exceptions import TokenValidationError
99
1010
11- class SignatureVerifier ( object ) :
11+ class SignatureVerifier :
1212 """Abstract class that will verify a given JSON web token's signature
1313 using the key fetched internally given its key id.
1414
@@ -119,7 +119,7 @@ class SymmetricSignatureVerifier(SignatureVerifier):
119119 """
120120
121121 def __init__ (self , shared_secret , algorithm = "HS256" ):
122- super (SymmetricSignatureVerifier , self ).__init__ (algorithm )
122+ super ().__init__ (algorithm )
123123 self ._shared_secret = shared_secret
124124
125125 def _fetch_key (self , key_id = None ):
@@ -135,14 +135,14 @@ class AsymmetricSignatureVerifier(SignatureVerifier):
135135 """
136136
137137 def __init__ (self , jwks_url , algorithm = "RS256" ):
138- super (AsymmetricSignatureVerifier , self ).__init__ (algorithm )
138+ super ().__init__ (algorithm )
139139 self ._fetcher = JwksFetcher (jwks_url )
140140
141141 def _fetch_key (self , key_id = None ):
142142 return self ._fetcher .get_key (key_id )
143143
144144
145- class JwksFetcher ( object ) :
145+ class JwksFetcher :
146146 """Class that fetches and holds a JSON web key set.
147147 This class makes use of an in-memory cache. For it to work properly, define this instance once and re-use it.
148148
0 commit comments