mirror of
https://github.com/achiez/NebulaAuth-Steam-Desktop-Authenticator-by-Achies.git
synced 2026-07-25 06:14:31 +00:00
ef8e12e20d
- Mafile version was updated (3), new property SteamId added - MafileSerializer was refactored to adjust compability and code readability. - Serialization work moved from Storage to new class NebulaSerializer
19 lines
1.1 KiB
C#
19 lines
1.1 KiB
C#
using Newtonsoft.Json;
|
|
|
|
namespace SteamLib.Utility.MafileSerialization;
|
|
|
|
internal class LegacyMafile
|
|
{
|
|
[JsonProperty("shared_secret"), JsonRequired] public string SharedSecret { get; set; } = default!;
|
|
[JsonProperty("identity_secret"), JsonRequired] public string IdentitySecret { get; set; } = default!;
|
|
[JsonProperty("device_id"), JsonRequired] public string DeviceId { get; set; } = default!;
|
|
[JsonProperty("revocation_code")] public string RevocationCode { get; set; } = default!;
|
|
[JsonProperty("account_name")] public string AccountName { get; set; } = default!;
|
|
[JsonProperty("Session")] public object? SessionData { get; set; } = default!;
|
|
[JsonProperty("server_time")] public long ServerTime { get; set; } //Unused
|
|
[JsonProperty("steamid")] public long SteamId { get; set; }
|
|
[JsonProperty("serial_number")] public string SerialNumber { get; set; } = default!; //Unused
|
|
[JsonProperty("uri")] public string Uri { get; set; } = default!; //Unused
|
|
[JsonProperty("token_gid")] public string TokenGid { get; set; } = default!; //Unused
|
|
[JsonProperty("secret_1")] public string Secret1 { get; set; } = default!; //Unused
|
|
} |