Files
ersatztv/ErsatzTV/Controllers/AccountController.cs
T
Jason DoveandGitHub 9471cb55dd upgrade from dotnet 7 to dotnet 8 (#1529)
* upgrade sdk

* fix warnings in ersatztv.ffmpeg

* fix warnings in ersatztv.core

* fix warnings in ersatztv.infrastructure

* fix warnings in ersatztv.application

* disable analysis for migrations projects

* fix warnings in ersatztv.scanner

* fix warnings in ersatztv

* upgrade project framework

* update github actions and dockerfiles
2023-12-30 13:29:57 -06:00

13 lines
330 B
C#

using Microsoft.AspNetCore.Mvc;
namespace ErsatzTV.Controllers;
[ApiController]
public class AccountController : ControllerBase
{
private static readonly string[] AuthenticationSchemes = { "oidc", "cookie" };
[HttpPost("account/logout")]
public IActionResult Logout() => new SignOutResult(AuthenticationSchemes);
}