namespace Sanhe.Abp.Identity.Security { /// /// totp算法服务 /// public interface ITotpService { /// /// 生成 /// /// /// /// int GenerateCode(byte[] securityToken, string modifier = null); /// /// 验证 /// /// /// /// /// bool ValidateCode(byte[] securityToken, int code, string modifier = null); } }