public void SetLoginInfoV3(Guid accountId, string token) { this.accountId = accountId; this.token = token; this.userId = ""; this.v3EndpointUser = new v3.User(accountId, token); this.v3EndpointDevice = new v3.Device(accountId, token); }
public void SetLoginInfoV1(string userId) { this.userId = userId; this.accountId = Guid.Empty; this.token = ""; this.v3EndpointUser = null; this.v3EndpointDevice = null; }