33 lines
560 B
Java
33 lines
560 B
Java
package io.dataease.auth.service;
|
|
|
|
import io.dataease.auth.api.dto.CurrentRoleDto;
|
|
import io.dataease.auth.entity.SysUserEntity;
|
|
|
|
import java.util.List;
|
|
|
|
public interface AuthUserService {
|
|
|
|
|
|
|
|
SysUserEntity getUserById(Long userId);
|
|
|
|
SysUserEntity getUserByName(String username);
|
|
|
|
SysUserEntity getUserBySub(String sub);
|
|
|
|
List<String> roles(Long userId);
|
|
|
|
List<String> permissions(Long userId);
|
|
|
|
List<CurrentRoleDto> roleInfos(Long userId);
|
|
|
|
void clearCache(Long userId);
|
|
|
|
boolean supportLdap();
|
|
|
|
Boolean supportOidc();
|
|
|
|
|
|
|
|
}
|