提交 | 用户 | 时间
|
e7c126
|
1 |
package com.iailab.module.system.controller.admin.oauth2.vo.open; |
H |
2 |
|
|
3 |
import com.fasterxml.jackson.annotation.JsonProperty; |
|
4 |
import io.swagger.v3.oas.annotations.media.Schema; |
|
5 |
import lombok.AllArgsConstructor; |
|
6 |
import lombok.Data; |
|
7 |
import lombok.NoArgsConstructor; |
|
8 |
|
|
9 |
@Schema(description = "管理后台 - 【开放接口】访问令牌 Response VO") |
|
10 |
@Data |
|
11 |
@NoArgsConstructor |
|
12 |
@AllArgsConstructor |
|
13 |
public class OAuth2OpenAccessTokenRespVO { |
|
14 |
|
818a01
|
15 |
@Schema(description = "用户编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024") |
H |
16 |
private Long userId; |
|
17 |
|
e7c126
|
18 |
@Schema(description = "访问令牌", requiredMode = Schema.RequiredMode.REQUIRED, example = "tudou") |
H |
19 |
private String accessToken; |
|
20 |
|
|
21 |
@Schema(description = "刷新令牌", requiredMode = Schema.RequiredMode.REQUIRED, example = "nice") |
|
22 |
private String refreshToken; |
|
23 |
|
|
24 |
@Schema(description = "令牌类型", requiredMode = Schema.RequiredMode.REQUIRED, example = "bearer") |
|
25 |
private String tokenType; |
|
26 |
|
|
27 |
@Schema(description = "过期时间,单位:秒", requiredMode = Schema.RequiredMode.REQUIRED, example = "42430") |
818a01
|
28 |
private Long expiresTime; |
e7c126
|
29 |
|
H |
30 |
@Schema(description = "授权范围,如果多个授权范围,使用空格分隔", example = "user_info") |
|
31 |
private String scope; |
|
32 |
|
|
33 |
} |