package cn.lihu.jh.module.system.api.oauth2.dto;
|
|
import lombok.Data;
|
|
import java.io.Serializable;
|
import java.time.LocalDateTime;
|
import java.util.List;
|
import java.util.Map;
|
|
/**
|
* OAuth2.0 访问令牌的校验 Response DTO
|
*
|
* @author 芋道源码
|
*/
|
@Data
|
public class OAuth2AccessTokenCheckRespDTO implements Serializable {
|
|
/**
|
* 用户编号
|
*/
|
private Long userId;
|
/**
|
* 用户类型
|
*/
|
private Integer userType;
|
/**
|
* 用户信息
|
*/
|
private Map<String, String> userInfo;
|
/**
|
* 租户编号
|
*/
|
private Long tenantId;
|
/**
|
* 授权范围的数组
|
*/
|
private List<String> scopes;
|
/**
|
* 过期时间
|
*/
|
private LocalDateTime expiresTime;
|
|
}
|