22 lines
		
	
	
	
		
			565 B
		
	
	
	
		
			C#
		
	
	
	
	
	
		
		
			
		
	
	
			22 lines
		
	
	
	
		
			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(); | ||
|  | } |