class

FAuthProtocol

Module
Networking
Header
#include "Networking/Auth/AuthProtocol.h"
Namespace
Mowo

Properties

TypeNameDescription
static constexpr uint8_tkTicketTagDefault static_cast<uint8_t>(EAuthPacketType::EncryptedTicket).

Public functions

ReturnsNameDescription
voidBuildTicketPacketFrame a raw encrypted app ticket for the wire: [tag][ticket bytes].
boolIsAuthPacketTrue when the first byte tags this as a pre-auth handshake frame.
boolReadTicketPoint outTicket/outLen at the ticket payload past the tag.

Function details

BuildTicketPacket

C++
static void BuildTicketPacket(const uint8_t* ticket, size_t len, std::vector<uint8_t>& out)

Frame a raw encrypted app ticket for the wire: [tag][ticket bytes].

IsAuthPacket

C++
static bool IsAuthPacket(const uint8_t* data, size_t len)

True when the first byte tags this as a pre-auth handshake frame.

ReadTicket

C++
static bool ReadTicket(const uint8_t* data, size_t len, const uint8_t*& outTicket, size_t& outLen)

Point outTicket/outLen at the ticket payload past the tag. Returns false when the frame is not an auth packet.

Generated from Networking/Auth/AuthProtocol.h via networking.json · Nov 4, 2026Version 1.0.0