Radicade Public Code

This commit is contained in:
JogmansonReal
2026-10-16 23:33:13 -07:00
commit 55175acdf6
832 changed files with 363261 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
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 });
}
}
}