openplatform

package
v2.0.13 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 19, 2022 License: MIT Imports: 1 Imported by: 1

Documentation

Index

Constants

View Source
const EVENT_AUTHORIZED string = "authorized"
View Source
const EVENT_COMPONENT_VERIFY_TICKET string = "component_verify_ticket"
View Source
const EVENT_THIRD_FAST_REGISTERED string = "notify_third_fasteregister"
View Source
const EVENT_UNAUTHORIZED string = "unauthorized"
View Source
const EVENT_UPDATE_AUTHORIZED string = "updateauthorized"

Variables

This section is empty.

Functions

This section is empty.

Types

type Callback

type Callback struct {
	XMLName xml.Name `xml:"xml"`
	Text    string   `xml:",chardata"`
	AppID   string   `xml:"AppId"`
	Encrypt string   `xml:"Encrypt"`
}

type EventAuthorization

type EventAuthorization struct {
	XMLName                      xml.Name `xml:"xml"`
	Text                         string   `xml:",chardata"`
	AppId                        string   `xml:"AppId"`
	CreateTime                   string   `xml:"CreateTime"`
	InfoType                     string   `xml:"InfoType"`
	AuthorizerAppid              string   `xml:"AuthorizerAppid"`
	AuthorizationCode            string   `xml:"AuthorizationCode"`
	AuthorizationCodeExpiredTime string   `xml:"AuthorizationCodeExpiredTime"`
	PreAuthCode                  string   `xml:"PreAuthCode"`
}

授权变更通知推送 https://developers.weixin.qq.com/doc/oplatform/Third-party_Platforms/2.0/api/Before_Develop/authorize_event.html

type EventVerifyTicket

type EventVerifyTicket struct {
	XMLName               xml.Name `xml:"xml"`
	Text                  string   `xml:",chardata"`
	CreateTime            string   `xml:"CreateTime"`
	InfoType              string   `xml:"InfoType"`
	ComponentVerifyTicket string   `xml:"ComponentVerifyTicket"`
}

------------------------------------------------------------ https://developers.weixin.qq.com/doc/oplatform/Third-party_Platforms/2.0/api/Before_Develop/component_verify_ticket.html

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL