com.spring.boxes.stream.AliImToken Maven / Gradle / Ivy
The newest version!
package com.spring.boxes.stream;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.io.Serializable;
// 连接IM所需要的Token
@Data
@NoArgsConstructor
@AllArgsConstructor
public class AliImToken implements Serializable {
@Schema(description = "用于长连接建连的Token")
private String accessToken;
@Schema(description = "登录Token过期时间,单位:毫秒")
private Long accessTokenExpiredTime;
@Schema(description = "更新Token,若AccessToken过期,则可以使用RefreshToken再次获取新Token")
private String refreshToken;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy