Foxchat.NET/Foxchat.Identity/Controllers/Oauth/PasswordAuthController.cs
2024-05-20 19:42:04 +02:00

22 lines
No EOL
565 B
C#

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();
}