Core/Auth: Refactor client auth key storage to support more future client variants and preserve more information about client version
Port From (https://github.com/TrinityCore/TrinityCore/commit/8e1595265925e0840d07e943b8c9ff1e906d4719)
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
// Copyright (c) CypherCore <http://github.com/CypherCore> All rights reserved.
|
||||
// Licensed under the GNU GENERAL PUBLIC LICENSE. See LICENSE file in the project root for full license information.
|
||||
|
||||
using Framework.Web.Rest.Realmlist;
|
||||
using System.Collections.Generic;
|
||||
using System.Text.Json.Serialization;
|
||||
using Framework.Web.Rest.Realmlist;
|
||||
|
||||
namespace Framework.Web
|
||||
{
|
||||
|
||||
@@ -0,0 +1,22 @@
|
||||
// Copyright (c) CypherCore <http://github.com/CypherCore> All rights reserved.
|
||||
// Licensed under the GNU GENERAL PUBLIC LICENSE. See LICENSE file in the project root for full license information.
|
||||
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace Framework.Web
|
||||
{
|
||||
public class RealmJoinTicket
|
||||
{
|
||||
[JsonPropertyName("gameAccount")]
|
||||
public string GameAccount { get; set; }
|
||||
|
||||
[JsonPropertyName("platform")]
|
||||
public int Platform { get; set; }
|
||||
|
||||
[JsonPropertyName("type")]
|
||||
public int Type { get; set; }
|
||||
|
||||
[JsonPropertyName("clientArch")]
|
||||
public int ClientArch { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -2,9 +2,8 @@
|
||||
// Licensed under the GNU GENERAL PUBLIC LICENSE. See LICENSE file in the project root for full license information.
|
||||
|
||||
using System.Text.Json.Serialization;
|
||||
using Framework.Web.Rest.Realmlist;
|
||||
|
||||
namespace Framework.Web.Rest.Realmlist
|
||||
namespace Framework.Web
|
||||
{
|
||||
internal class RealmListRAFInfo
|
||||
{
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
// Copyright (c) CypherCore <http://github.com/CypherCore> All rights reserved.
|
||||
// Licensed under the GNU GENERAL PUBLIC LICENSE. See LICENSE file in the project root for full license information.
|
||||
|
||||
using Framework.Web.Rest.Realmlist;
|
||||
using System.Collections.Generic;
|
||||
using System.Text.Json.Serialization;
|
||||
using Framework.Web.Rest.Realmlist;
|
||||
|
||||
namespace Framework.Web
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user