Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccessToken ¶
type AccessToken struct {
*kernel.AccessToken
}
func NewAccessToken ¶
func NewAccessToken(app kernel.ApplicationInterface) (*AccessToken, error)
func RegisterProvider ¶
func RegisterProvider(app kernel.ApplicationInterface) (*AccessToken, error)
func (*AccessToken) OverrideGetCredentials ¶
func (accessToken *AccessToken) OverrideGetCredentials()
Override GetCredentials
type Client ¶ added in v3.2.0
type Client struct {
BaseClient *kernel.BaseClient
}
func (*Client) GetUserDetail ¶ added in v3.2.0
func (comp *Client) GetUserDetail(ctx context.Context, userTicket string) (*userResponse.UserDetail, error)
获取访问用户敏感信息 https://developer.work.weixin.qq.com/document/path/95833
func (*Client) GetUserInfo ¶ added in v3.2.0
func (comp *Client) GetUserInfo(ctx context.Context, code string) (*response.ResponseGetUserInfo, error)
获取访问用户身份 https://developer.work.weixin.qq.com/document/path/91023
Click to show internal directories.
Click to hide internal directories.