provider

package
v3.2.59 Latest Latest
Warning

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

Go to latest
Published: Dec 24, 2024 License: MIT Imports: 6 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccessToken added in v3.2.0

type AccessToken struct {
	*kernel.AccessToken
}

func RegisterProvider

func RegisterProvider(app kernel.ApplicationInterface) (*AccessToken, error)

func (*AccessToken) OverrideGetCredentials added in v3.2.0

func (accessToken *AccessToken) OverrideGetCredentials()

Override GetCredentials

type Client

type Client struct {
	*kernel.BaseClient
}

func NewClient

func NewClient(app kernel.ApplicationInterface) (*Client, error)

func (*Client) CorpIDToOpenCorpID added in v3.2.0

func (clt *Client) CorpIDToOpenCorpID(ctx context.Context, corpID string) (string, error)

明文corpid转换为加密corpid https://developer.work.weixin.qq.com/document/path/95604

Jump to

Keyboard shortcuts

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