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