MerossCloudCredentials

class meross_iot.model.credentials.MerossCloudCreds(token: str, key: str, user_id: str, user_email: str, issued_on: datetime | str, domain: str, mqtt_domain: str, mfa_lock_expire: int)

Utility class that holds Meross Cloud credentials for a given user.

classmethod from_json(json_string: str)

Builds a MerossCloudCreds instance from a previously serialized json string :param json_string: :return:

to_json() str

Serializes the current object to a json string :return: