class
FAuthProtocol
- Module
- Networking
- Header
#include "Networking/Auth/AuthProtocol.h"- Namespace
Mowo
Properties
| Type | Name | Description |
|---|---|---|
static constexpr uint8_t | kTicketTag | Default static_cast<uint8_t>(EAuthPacketType::EncryptedTicket). |
Public functions
| Returns | Name | Description |
|---|---|---|
void | BuildTicketPacket | Frame a raw encrypted app ticket for the wire: [tag][ticket bytes]. |
bool | IsAuthPacket | True when the first byte tags this as a pre-auth handshake frame. |
bool | ReadTicket | Point 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