Starting updating mooncore dependency usage
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
namespace Moonlight.Shared.Http.Responses.Auth;
|
||||
namespace Moonlight.Shared.Http.Responses.Auth;
|
||||
|
||||
public class CheckResponse
|
||||
{
|
||||
public string Username { get; set; }
|
||||
public string Email { get; set; }
|
||||
public string[] Permissions { get; set; }
|
||||
public string Permissions { get; set; }
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
namespace Moonlight.Shared.Http.Responses.Auth;
|
||||
|
||||
public class LoginCompleteResponse
|
||||
{
|
||||
public string AccessToken { get; set; }
|
||||
}
|
||||
@@ -1,8 +1,8 @@
|
||||
namespace Moonlight.Shared.Http.Responses.Auth;
|
||||
|
||||
public class OAuth2StartResponse
|
||||
public class LoginStartResponse
|
||||
{
|
||||
public string Endpoint { get; set; }
|
||||
public string ClientId { get; set; }
|
||||
public string Endpoint { get; set; }
|
||||
public string RedirectUri { get; set; }
|
||||
}
|
||||
@@ -1,8 +0,0 @@
|
||||
namespace Moonlight.Shared.Http.Responses.Auth;
|
||||
|
||||
public class OAuth2HandleResponse
|
||||
{
|
||||
public string AccessToken { get; set; }
|
||||
public string RefreshToken { get; set; }
|
||||
public DateTime ExpiresAt { get; set; }
|
||||
}
|
||||
@@ -1,8 +0,0 @@
|
||||
namespace Moonlight.Shared.Http.Responses.Auth;
|
||||
|
||||
public class RefreshResponse
|
||||
{
|
||||
public string AccessToken { get; set; }
|
||||
public string RefreshToken { get; set; }
|
||||
public DateTime ExpiresAt { get; set; }
|
||||
}
|
||||
@@ -1,7 +0,0 @@
|
||||
namespace Moonlight.Shared.Http.Responses.OAuth2;
|
||||
|
||||
public class InfoResponse
|
||||
{
|
||||
public string Username { get; set; }
|
||||
public string Email { get; set; }
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
namespace Moonlight.Shared.Http.Responses.OAuth2;
|
||||
|
||||
public class OAuth2HandleResponse
|
||||
{
|
||||
public int UserId { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user