Eintoo/GameServer/Server/Hotfix/Outter/Authentication/JWT/Helper/AuthenticationJWTComponentHelper.cs
2025-04-22 15:31:25 +08:00

11 lines
264 B
C#

using Fantasy;
namespace Hotfix;
public static class AuthenticationJWTComponentHelper
{
public static string GeneratorToken(Scene scene,long accountId)
{
return scene.GetComponent<AuthenticationJWTComponent>().GenerateToken(accountId);
}
}