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