Reorganized config. Re implemented auth controller to use token-pair authentication and oauth2
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace Moonlight.Shared.Http.Requests.Auth;
|
||||
|
||||
public class OAuth2HandleRequest
|
||||
{
|
||||
[Required(ErrorMessage = "You need to provide the oauth2 code")]
|
||||
public string Code { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user