mirror of
https://github.com/chylex/Minecraft-Phantom-Panel.git
synced 2025-04-28 10:15:47 +02:00
14 lines
483 B
C#
14 lines
483 B
C#
using System.Collections.Immutable;
|
|
using MemoryPack;
|
|
using Phantom.Common.Data;
|
|
using Phantom.Common.Data.Web.Users;
|
|
using Phantom.Utils.Actor;
|
|
|
|
namespace Phantom.Common.Messages.Web.ToController;
|
|
|
|
[MemoryPackable(GenerateType.VersionTolerant)]
|
|
public sealed partial record GetAuthenticatedUser(
|
|
[property: MemoryPackOrder(0)] Guid UserGuid,
|
|
[property: MemoryPackOrder(1)] ImmutableArray<byte> SessionToken
|
|
) : IMessageToController, ICanReply<Optional<AuthenticatedUserInfo>>;
|