XFEExtension.NetCore.ServerInteractive
[DLL] Server interaction extension, including user identity verification and querying in conjunction with AutoConfig
关注
0
Fork
0
Star
0
namespace XFEExtension.NetCore.ServerInteractive.Interfaces.CoreService;
/// <summary>
/// 服务器核心初始化服务
/// </summary>
public interface IServerCoreVerifyService : IXFEStandardServerCoreServiceBase
{
/// <summary>
/// 校验请求
/// </summary>
/// <returns>如果请求通过校验,返回true;否则返回false。</returns>
bool VerifyRequest();
/// <summary>
/// 校验请求
/// </summary>
/// <returns>如果请求通过校验,返回true;否则返回false。</returns>
Task<bool> VerifyRequestAsync();
}
namespace XFEExtension.NetCore.ServerInteractive.Interfaces.CoreService;
/// <summary>
/// 服务器核心初始化服务
/// </summary>
public interface IServerCoreVerifyService : IXFEStandardServerCoreServiceBase
{
/// <summary>
/// 校验请求
/// </summary>
/// <returns>如果请求通过校验,返回true;否则返回false。</returns>
bool VerifyRequest();
/// <summary>
/// 校验请求
/// </summary>
/// <returns>如果请求通过校验,返回true;否则返回false。</returns>
Task<bool> VerifyRequestAsync();
}