mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-06 19:37:55 +02:00
40 lines
1.2 KiB
C#
40 lines
1.2 KiB
C#
|
|
namespace MediaBrowser.Server.Implementations.Connect
|
|
{
|
|
public class ServerRegistrationResponse
|
|
{
|
|
public string Id { get; set; }
|
|
public string Url { get; set; }
|
|
public string Name { get; set; }
|
|
public string AccessKey { get; set; }
|
|
}
|
|
|
|
public class UpdateServerRegistrationResponse
|
|
{
|
|
public string Id { get; set; }
|
|
public string Url { get; set; }
|
|
public string Name { get; set; }
|
|
}
|
|
|
|
public class GetConnectUserResponse
|
|
{
|
|
public string Id { get; set; }
|
|
public string Name { get; set; }
|
|
public string DisplayName { get; set; }
|
|
public string Email { get; set; }
|
|
public bool IsActive { get; set; }
|
|
public string ImageUrl { get; set; }
|
|
}
|
|
|
|
public class ServerUserAuthorizationResponse
|
|
{
|
|
public string Id { get; set; }
|
|
public string ServerId { get; set; }
|
|
public string UserId { get; set; }
|
|
public string AccessToken { get; set; }
|
|
public string DateCreated { get; set; }
|
|
public bool IsActive { get; set; }
|
|
public string AcceptStatus { get; set; }
|
|
public string UserType { get; set; }
|
|
}
|
|
}
|