thirdparty

package
v0.2.6 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2026 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type API

type API interface {
	api.API
	GetAuthUrl(client, redirectUrl string, authType int) (string, error) // 获取授权链接
	GetAuthorizerAppId(authCode string) (string, error)                  // 通过authCode获取授权应用的appId
	GetAuthorizerInfo(appId string) (*wx.GetAuthorizerInfoResult, error) // 获取授权应用的信息
	GetAuthorizerAccessToken(authorizerAppid string) (string, error)     // 获取授权的应用的AccessToken
	UpdateComponentVerifyTicket(componentVerifyTicket string) error      // 更新ComponentVerityTicket
}

func New

func New(appId, appSecret string, redisProvider types.RedisProvider) API

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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