YPS-Beer/backend/YPS.Beer/Controllers/AuthController.cs
2023-12-07 00:20:59 +00:00

16 lines
322 B
C#

using Microsoft.AspNetCore.Authentication;
using Microsoft.AspNetCore.Mvc;
namespace YPS.Beer.Controllers;
[ApiController]
public class AuthController : ControllerBase
{
[HttpGet("logout")]
public async Task<IActionResult> Logout()
{
await HttpContext.SignOutAsync();
return Ok();
}
}