removal concept
This commit is contained in:
@@ -24,8 +24,6 @@ public class OAuthController : AuthControllerBase
|
|||||||
{
|
{
|
||||||
private const string _discordOAuthCall = "discordCall";
|
private const string _discordOAuthCall = "discordCall";
|
||||||
private const string _discordOAuthCallback = "discordCallback";
|
private const string _discordOAuthCallback = "discordCallback";
|
||||||
private const string _xivauthCall = "xivauthCall";
|
|
||||||
private const string _xivauthCallBack = "xivauthCallBack";
|
|
||||||
private static readonly ConcurrentDictionary<string, string> _cookieOAuthResponse = [];
|
private static readonly ConcurrentDictionary<string, string> _cookieOAuthResponse = [];
|
||||||
|
|
||||||
public OAuthController(ILogger<OAuthController> logger,
|
public OAuthController(ILogger<OAuthController> logger,
|
||||||
@@ -38,21 +36,6 @@ public class OAuthController : AuthControllerBase
|
|||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
[AllowAnonymous]
|
|
||||||
[HttpGet(_xivauthCall)]
|
|
||||||
public IActionResult XIVAuthOAuthSetCookieAndRedirect([FromQuery] string sessionId)
|
|
||||||
{
|
|
||||||
return View();
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
[AllowAnonymous]
|
|
||||||
[HttpGet(_xivauthCallBack)]
|
|
||||||
public IActionResult XIVAuthOAuthCallback([FromQuery] string code)
|
|
||||||
{
|
|
||||||
return View();
|
|
||||||
}
|
|
||||||
|
|
||||||
[AllowAnonymous]
|
[AllowAnonymous]
|
||||||
[HttpGet(_discordOAuthCall)]
|
[HttpGet(_discordOAuthCall)]
|
||||||
public IActionResult DiscordOAuthSetCookieAndRedirect([FromQuery] string sessionId)
|
public IActionResult DiscordOAuthSetCookieAndRedirect([FromQuery] string sessionId)
|
||||||
|
|||||||
Reference in New Issue
Block a user