cn.lnkdoc.sdk.uia.instance.bccastle.domain.AccessToken.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of awesome-uia-sdk Show documentation
Show all versions of awesome-uia-sdk Show documentation
Awesome Uia SDK for Java
Copyright © 2023 lnkdoc All rights reserved.
The newest version!
package cn.lnkdoc.sdk.uia.instance.bccastle.domain
import cn.lnkdoc.sdk.uia.instance.bccastle.response.BccastleResponse
import com.alibaba.fastjson2.annotation.JSONField
/**
* @author langkye
* @since 1.0.0.RELEASE
*/
@Suppress("unused", "MemberVisibilityCanBePrivate")
class AccessToken : BccastleResponse() {
/**
* 授权令牌(授权服务器返回给第三方应用的授权令牌。)
*/
@set:JSONField(name = "access_token")
var accessToken: String? = null
/**
* 授权令牌的有效期(授权服务器返回给应用的访问票据的有效期。注意:有效期以秒为单位。)
*/
@set:JSONField(name = "expires_in")
var expiresIn: Long? = null
/**
* 刷新令牌(默认平台不返回。)
*/
@set:JSONField(name = "refresh_token")
var refreshToken: String? = null
/**
* 授权用户唯一标识(登录用户uid。)
*/
var uid: String? = null
}