mirror of
https://github.com/EpinelPS/EpinelPS.git
synced 2025-12-14 16:04:36 +01:00
implement a few more messages
This commit is contained in:
@@ -32,6 +32,15 @@ namespace nksrv.LobbyServer
|
||||
public async Task HandleAsync(IHttpContext ctx)
|
||||
{
|
||||
this.ctx = ctx;
|
||||
if (ctx.Request.Headers.AllKeys.Contains("Authorization"))
|
||||
{
|
||||
var token = ctx.Request.Headers["Authorization"];
|
||||
if (token != null)
|
||||
{
|
||||
UsedAuthToken = token;
|
||||
}
|
||||
}
|
||||
|
||||
await HandleAsync();
|
||||
}
|
||||
public async Task HandleAsync(string authToken)
|
||||
|
||||
Reference in New Issue
Block a user