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