CatStation/Corvax/Content.Corvax.Interfaces.Server/IServerDiscordAuthManager.cs
2023-10-28 14:15:43 +03:00

13 lines
476 B
C#

using Content.Corvax.Interfaces.Shared;
using Robust.Server.Player;
using Robust.Shared.Network;
using Robust.Shared.Player;
namespace Content.Corvax.Interfaces.Server;
public interface IServerDiscordAuthManager : ISharedDiscordAuthManager
{
public event EventHandler<ICommonSession>? PlayerVerified;
public Task<string> GenerateAuthLink(NetUserId userId, CancellationToken cancel);
public Task<bool> IsVerified(NetUserId userId, CancellationToken cancel);
}