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 AuthenticatePhoton() { return Ok(new PhotonAuthResult { ResultCode = 1 }); } } }