Foxchat.NET/Foxchat.Identity/Controllers/Oauth/PasswordAuthController.cs

22 lines
565 B
C#
Raw Normal View History

2024-05-20 19:42:04 +02:00
using Foxchat.Identity.Middleware;
using Foxchat.Identity.Database;
using Foxchat.Identity.Utils;
using Microsoft.AspNetCore.Mvc;
namespace Foxchat.Identity.Controllers.Oauth;
[ApiController]
[Authenticate]
[Route("/_fox/ident/oauth/password")]
public class PasswordAuthController(ILogger logger, IdentityContext db) : ControllerBase
{
[HttpPost("register")]
public async Task<IActionResult> Register()
{
var app = HttpContext.GetApplicationOrThrow();
throw new NotImplementedException();
}
public record RegisterRequest();
}