mirror of
https://github.com/hmaxnl/DotBased.git
synced 2025-05-16 07:17:54 +02:00
27 lines
608 B
C#
27 lines
608 B
C#
using System.Text.Json;
|
|
using Microsoft.AspNetCore.Mvc;
|
|
|
|
namespace DotBased.AspNet.Authority.Controllers;
|
|
|
|
[ApiController]
|
|
[Route("[controller]")]
|
|
public class AuthorityController : ControllerBase
|
|
{
|
|
[HttpGet("auth/login")]
|
|
public async Task<ActionResult> LoginFromSchemeAsync([FromQuery(Name = "s")] string scheme)
|
|
{
|
|
return BadRequest();
|
|
}
|
|
|
|
[HttpGet("auth/logout")]
|
|
public async Task<ActionResult> LogoutAsync()
|
|
{
|
|
return Ok();
|
|
}
|
|
|
|
[HttpGet("info")]
|
|
public async Task<ActionResult<JsonDocument>> GetAuthorityInfoAsync()
|
|
{
|
|
return Ok();
|
|
}
|
|
} |