|
@@ -3,6 +3,8 @@ package com.zhongshu.card.client.model.org;
|
|
|
import io.swagger.v3.oas.annotations.media.Schema;
|
|
import io.swagger.v3.oas.annotations.media.Schema;
|
|
|
import lombok.Data;
|
|
import lombok.Data;
|
|
|
|
|
|
|
|
|
|
+import java.util.Set;
|
|
|
|
|
+
|
|
|
/**
|
|
/**
|
|
|
* @author TRX
|
|
* @author TRX
|
|
|
* @date 2024/6/17
|
|
* @date 2024/6/17
|
|
@@ -11,11 +13,20 @@ import lombok.Data;
|
|
|
public class LoginPlatformTokenModel {
|
|
public class LoginPlatformTokenModel {
|
|
|
@Schema(description = "token")
|
|
@Schema(description = "token")
|
|
|
private String access_token;
|
|
private String access_token;
|
|
|
|
|
+
|
|
|
private String token_type;
|
|
private String token_type;
|
|
|
|
|
+
|
|
|
@Schema(description = "刷新token的token")
|
|
@Schema(description = "刷新token的token")
|
|
|
private String refresh_token;
|
|
private String refresh_token;
|
|
|
|
|
+
|
|
|
private Integer expires_in;
|
|
private Integer expires_in;
|
|
|
|
|
+
|
|
|
private String scope;
|
|
private String scope;
|
|
|
|
|
+
|
|
|
private String platformOid;
|
|
private String platformOid;
|
|
|
|
|
+
|
|
|
OrganizationUserModel userInfo;
|
|
OrganizationUserModel userInfo;
|
|
|
|
|
+
|
|
|
|
|
+ @Schema(description = "用户权限列表")
|
|
|
|
|
+ private Set<String> auths;
|
|
|
}
|
|
}
|