mirror of
https://github.com/JogmansonReal/Radicade.git
synced 2026-10-26 07:29:00 -07:00
Radicade Public Code
This commit is contained in:
@@ -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 });
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user