/// <summary> /// 验证客户id与授权key是否重复 /// 通过主键ID来确定操作是新增还是编辑状态 /// </summary> /// <param name="authTokenModel"></param> /// <returns></returns> public bool VerifyClientRepeat(AuthToken authTokenModel) { return(serverAuthProvider.VerifyClientRepeat(authTokenModel)); }
/// <summary> /// 新增 /// </summary> /// <param name="authTokenModel"></param> /// <returns></returns> public bool Add(AuthToken authTokenModel) { return(serverAuthProvider.Add(authTokenModel)); }
/// <summary> /// 编辑 /// </summary> /// <param name="authTokenModel"></param> /// <returns></returns> public bool Change(AuthToken authTokenModel) { return(serverAuthProvider.Change(authTokenModel)); }
/// <summary> /// 删除 /// </summary> /// <param name="authTokenModel"></param> /// <returns></returns> public bool Delete(AuthToken authTokenModel) { return(serverAuthProvider.Delete(authTokenModel)); }