Files
2026-10-16 23:33:13 -07:00

19 lines
446 B
C#

using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using RadicadeServer.RecNet.Auth.Photon;
namespace RadicadeServer.Auth.Photon
{
[ApiController, Route("auth/photon")]
public class PhotonAuthAPI : Controller
{
[AllowAnonymous]
[HttpGet("authenticate")]
[HttpPost("authenticate")]
public ActionResult<PhotonAuthResult> AuthenticatePhoton()
{
return Ok(new PhotonAuthResult { ResultCode = 1 });
}
}
}