rest_framework_simplejwt/backends.py
def decode(self, token, verify=True):
        """
        Performs a validation of the given token and returns its payload
        dictionary.
        Raises a `TokenBackendError` if the token is malformed, if its
        signature check fails, or if its 'exp' claim indicates it has expired.
        """
        try:
            return jwt.decode(token, self.verifying_key, algorithms=[self.algorithm], verify=verify)
        except InvalidTokenError:
            raise TokenBackendError(_('Token is invalid or expired'))

        Performs a validation of the given token and returns its payload
        dictionary.
        Raises a `TokenBackendError` if the token is malformed, if its
        signature check fails, or if its 'exp' claim indicates it has expired.
        
Performs a validation of the given token and returns its payload
dictionary.
Raises a `TokenBackendError` if the token is malformed, if its
signature check fails, or if its 'exp' claim indicates it has expired.
Performs a validation of the given token and returns its payload dictionary . Raises a ` TokenBackendError ` if the token is malformed if its signature check fails or if its ' exp ' claim indicates it has expired .
def decode(self, token, verify=True):
        try:
            return jwt.decode(token, self.verifying_key, algorithms=[self.algorithm], verify=verify)
        except InvalidTokenError:
            raise TokenBackendError(_('Token is invalid or expired'))
def decode ( self , token , verify = True ) : try : return jwt . decode ( token , self . verifying_key , algorithms = [ self . algorithm ] , verify = verify ) except InvalidTokenError : raise TokenBackendError ( _ ( 'Token is invalid or expired' ) )
Performs a validation of the given token and returns its payload
dictionary.
Performs a validation of the given token and returns its payload dictionary .
"""
        Performs a validation of the given token and returns its payload
        dictionary.
        Raises a `TokenBackendError` if the token is malformed, if its
        signature check fails, or if its 'exp' claim indicates it has expired.
        """
self
token
verify