Versions in this module Expand all Collapse all v0 v0.6.7 May 28, 2021 Changes in this version type WechatTpConfig + AuthForwardURL string + MsgForwardURL string v0.6.6 May 25, 2021 Changes in this version + const DefaultAuthMpLoginProxyURL + const DefaultAuthProxyURL + const DefaultProxyURL + type AuthConfig struct + WechatTpAuthMpLoginProxyURL string + WechatTpAuthProxyURL string + WechatTpAuthTokenLifeSpan gokits.Duration + WechatTpAuthTokenTempLifeSpan gokits.Duration + WechatTpPreAuthCodeURL string + WechatTpQueryAuthURL string + WechatTpRefreshAuthURL string + type AuthorizationInfo struct + AuthorizerAccessToken string + AuthorizerAppId string + AuthorizerRefreshToken string + ExpiresIn int + FuncInfo []FuncInfo + type Config struct + WechatTpConfigLifeSpan gokits.Duration + WechatTpCryptorLifeSpan gokits.Duration + WechatTpProxyURL string + WechatTpTokenLifeSpan gokits.Duration + WechatTpTokenTempLifeSpan gokits.Duration + WechatTpTokenURL string + type FuncInfo struct + FuncscopeCategory FuncscopeCategory + type FuncscopeCategory struct + Id int + type QueryWechatTpAuthToken struct + AuthorizerRefreshToken string + ExpireTime int64 + Updated string + type QueryWechatTpToken struct + ExpireTime int64 + Updated string + func (q *QueryWechatTpToken) GetExpireTime() int64 + func (q *QueryWechatTpToken) GetUpdated() string + type RefreshResponse struct + AuthorizerAccessToken string + AuthorizerRefreshToken string + ExpiresIn int + type Response struct + ComponentAccessToken string + ExpiresIn int + type WechatTpAuthKey struct + AuthorizerAppId string + CodeName string + type WechatTpAuthToken struct + AppId string + AuthorizerAccessToken string + AuthorizerAppId string + AuthorizerJsapiTicket string + type WechatTpConfig struct + AesKey string + AppId string + AppSecret string + AuthForwardUrl string + MsgForwardUrl string + RedirectURL string + Token string + type WechatTpInfoData struct + AppId string + AuthorizationCode string + AuthorizationCodeExpiredTime string + AuthorizerAppId string + ComponentVerifyTicket string + CreateTime string + InfoType string + MpAppId string + MpAuthCode string + MpInfo WechatTpMpInfo + MpMsg string + MpStatus string + PreAuthCode string + XMLName xml.Name + type WechatTpMpInfo struct + MpCode string + MpCodeType string + MpComponentPhone string + MpLegalPersonaName string + MpLegalPersonaWechat string + MpName string + type WechatTpMsgMap map[string]string + func (m *WechatTpMsgMap) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error + func (m WechatTpMsgMap) MarshalXML(e *xml.Encoder, start xml.StartElement) error + type WechatTpPreAuthCodeResponse struct + ExpiresIn int + PreAuthCode string + type WechatTpQueryAuthResponse struct + AuthorizationInfo AuthorizationInfo + type WechatTpToken struct + AccessToken string + AppId string