feat(auth): implement yggdrasil join endpoint

This commit is contained in:
Mrixs committed 2025-06-15 17:17:50 +03:00
1 parent 056aa05c50
commit 9082b21a5d
5 files changed
+107 -1

No files matched your search

+7
View File
@@ -67,3 +67,10 @@ type SessionProfileResponse struct {
Name string `json:"name"`
Properties []ProfileProperty `json:"properties"`
}
// JoinRequest - это тело запроса на /sessionserver/session/minecraft/join
type JoinRequest struct {
AccessToken string `json:"accessToken"`
SelectedProfile string `json:"selectedProfile"` // UUID пользователя без дефисов
ServerID string `json:"serverId"`
}