def sign(self, payload):
        """ Sign payload using the supplied authenticator """
        if self.authenticator:
            return self.authenticator.signed(payload)
        return payload
def sign ( self , payload ) : if self . authenticator : return self . authenticator . signed ( payload ) return payload
Sign payload using the supplied authenticator