Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthToken ¶
type AuthToken struct { APPID string `json:"appid"` Secret string `json:"secret"` OpenID string `json:"open_id"` AccessToken string `json:"access_token"` // 网页授权接口调用凭证,注意:此access_token与基础支持的access_token不同 AccessTokenTimeline int64 `json:"access_token_timeline"` // access_token 到期时间毫秒 RefreshToken string `json:"refresh_token"` // 用户刷新access_token RefreshTokenTimeline int64 `json:"refresh_token_timeline"` // refresh_token 到期时间毫秒 Scope string `json:"scope"` // 用户授权的作用域,使用逗号(,)分隔 }
func (AuthToken) AccessTokenExpired ¶
func (AuthToken) GetExpiresIn ¶
func (AuthToken) RefreshTokenExpired ¶
func (AuthToken) TOSimple ¶
func (a AuthToken) TOSimple() dto.AuthTokenSimple
Click to show internal directories.
Click to hide internal directories.