All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.gitee.putaoo.easypay.domain.wx.UserAccessToken Maven / Gradle / Ivy

There is a newer version: 2.0.3
Show newest version
package io.gitee.putaoo.easypay.domain.wx;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

@Data
public class UserAccessToken {
    /**
     * 网页授权接口调用凭证,注意:此access_token与基础支持的access_token不同
     */
    @JsonProperty(value = "access_token")
    private String accessToken;
    /**
     * access_token接口调用凭证超时时间,单位(秒)
     */
    @JsonProperty(value = "expires_in")
    private Integer expire;
    /**
     * 用户刷新access_token
     */
    @JsonProperty(value = "refresh_token")
    private String refreshToken;
    /**
     * 用户唯一标识,请注意,在未关注公众号时,用户访问公众号的网页,也会产生一个用户和公众号唯一的OpenID
     */
    @JsonProperty(value = "openid")
    private String openId;
    /**
     * 用户授权的作用域,使用逗号(,)分隔
     */
    @JsonProperty(value = "scope")
    private String scope;
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy