//
// Copyright (c) alveus.dev. All rights reserved. Licensed under the MIT License.
//
using Astral.ApiServer.Models;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
namespace Astral.ApiServer.Controllers;
///
/// OAuth authentication controller.
///
[Produces("application/json")]
[Consumes("application/x-www-form-urlencoded")]
[Route("oauth")]
public class OAuthController : ControllerBase
{
///
/// Grant token request.
///
/// Instance of .
[HttpPost("token")]
[AllowAnonymous]
public Task GrantToken([FromForm] TokenGrantRequestModel tokenGrantRequest)
{
throw new NotImplementedException();
}
}