namespace KMCCC.Authentication
{
#region
using System.Threading;
using System.Threading.Tasks;
#endregion
///
/// 验证器接口
///
public interface IAuthenticator
{
///
/// 获取验证器的类型
///
string Type { get; }
///
/// 同步方式调用
///
/// 验证信息
AuthenticationInfo Do();
///
/// 异步方式调用
///
/// 验证信息
Task DoAsync(CancellationToken token);
}
}