package com.tuoheng.service;

import com.tuoheng.model.dto.LoginUser;
import com.tuoheng.model.dto.OidcTenantDto;
import com.tuoheng.model.param.CreateClientTenantDto;
import com.tuoheng.model.param.CreateClientUserDto;
import com.tuoheng.model.param.UpdateUserClientRoleDto;
import com.tuoheng.model.param.UpdateUserPassDto;
import com.tuoheng.model.query.TenantQuery;
import com.tuoheng.model.query.UserQuery;
import com.tuoheng.until.JsonResult;

/**
 * @author chenjiandong
 * @description: TODO
 * @date 2022/10/8 11:35
 */
public interface ClientUserSevice {

    JsonResult judgeCreate(String username);

    JsonResult createClientUser(CreateClientUserDto createClientUserDto, LoginUser loginUser);


    JsonResult updateUserPassword(UpdateUserPassDto updateUserPassDto, LoginUser loginUser);

    JsonResult updateUserClientRole(UpdateUserClientRoleDto updateUserClientRoleDto, LoginUser loginUser);
}
