namespace IOL.BookmarkThing.Server.Api.Internal.Account; public class EndSessionRoute : RouteBaseInternalAsync.WithoutRequest.WithActionResult { [AllowAnonymous] [ApiVersionNeutral] [ApiExplorerSettings(IgnoreApi = true)] [HttpGet("~/v{version:apiVersion}/account/end-session")] public override async Task HandleAsync(CancellationToken cancellationToken = default) { await HttpContext.SignOutAsync(); return Ok(); } }