Repository URL to install this package:
Version:
2025.1.5 ▾
|
using Gs2.Core.Domain;
using Gs2.Gs2Auth.Model;
#if GS2_ENABLE_UNITASK
using Cysharp.Threading.Tasks;
#endif
namespace Gs2.Unity.Util
{
public interface IGuildAuthenticator
{
public bool NeedReAuthentication { get; }
#if GS2_ENABLE_UNITASK
public UniTask<AccessToken> AuthenticationAsync(
Gs2Connection connection,
IGameSession userGameSession,
string guildName
);
#endif
public Gs2Future<AccessToken> AuthenticationFuture(
Gs2Connection connection,
IGameSession userGameSession,
string guildName
);
}
}