mirror of
https://github.com/chylex/Minecraft-Phantom-Panel.git
synced 2025-05-01 00:34:07 +02:00
14 lines
480 B
C#
14 lines
480 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> AuthToken
|
|
) : IMessageToController, ICanReply<Optional<AuthenticatedUserInfo>>;
|