Implement PSN ticket reading

This commit is contained in:
jvyden 2022-01-27 16:50:08 -05:00
parent ef84bf1d50
commit 7081b725a8
No known key found for this signature in database
GPG key ID: 18BCF2BE0262B278
14 changed files with 266 additions and 68 deletions

View file

@ -37,7 +37,8 @@ public class LighthouseServerTest
await database.CreateUser($"{username}{number}", HashHelper.BCryptHash($"unitTestPassword{number}"));
}
string stringContent = $"{LoginData.UsernamePrefix}{username}{number}{(char)0x00}";
//TODO: generate actual tickets
string stringContent = $"unitTestTicket{username}{number}";
HttpResponseMessage response = await this.Client.PostAsync
($"/LITTLEBIGPLANETPS3_XML/login?titleID={GameVersionHelper.LittleBigPlanet2TitleIds[0]}", new StringContent(stringContent));