using System; using System.Collections.Generic; namespace MediaBrowser.Server.Implementations.Connect { public class ConnectData { /// /// Gets or sets the server identifier. /// /// The server identifier. public string ServerId { get; set; } /// /// Gets or sets the access key. /// /// The access key. public string AccessKey { get; set; } /// /// Gets or sets the authorizations. /// /// The authorizations. public List Authorizations { get; set; } public ConnectData() { Authorizations = new List(); } } public class ConnectAuthorization { public string LocalUserId { get; set; } public string AccessToken { get; set; } public ConnectAuthorization() { AccessToken = new Guid().ToString("N"); } } }