Добавьте файлы проекта.
This commit is contained in:
19
Yuna.OauthServer/Endpoints/Auth/AuthEndpoints.cs
Normal file
19
Yuna.OauthServer/Endpoints/Auth/AuthEndpoints.cs
Normal file
@ -0,0 +1,19 @@
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
using Yuna.OauthServer.Endpoints.Auth.DTO;
|
||||
|
||||
namespace Yuna.OauthServer.Endpoints.Auth
|
||||
{
|
||||
public class AuthEndpoints
|
||||
{
|
||||
public void Define(WebApplication app)
|
||||
{
|
||||
app.MapGet("oauth/auth", Authorize)
|
||||
}
|
||||
|
||||
public IResult Authorize([AsParameters] AuthRequest request)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user