code: def verify(self, payload):
          
          if not self.authenticator:
              return payload
          try:
              self.authenticator.auth(payload)
              return self.authenticator.unsigned(payload)
          except AuthenticatorInvalidSignature:
              raise
          except Exception as exception:
              raise AuthenticateError(str(exception))
docs: Verify payload authenticity via the supplied authenticator