provider

package
v3.2.0 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 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
	CorpID string `json:"corpid,omitempty"`
}

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, corpID string) (*Client, error)

func (*Client) CorpIDToOpenCorpID added in v3.2.0

func (comp *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