39 lines
723 B
Java
39 lines
723 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 getLdapUserByName(String username);
|
|
|
|
SysUserEntity getCasUserByName(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();
|
|
|
|
Boolean supportCas();
|
|
|
|
Boolean pluginLoaded();
|
|
|
|
|
|
}
|