suit

package
v3.2.42 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2024 License: MIT Imports: 9 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

Types

type AccessToken

type AccessToken struct {
	*kernel.AccessToken
}

func (*AccessToken) OverrideGetCredentials

func (accessToken *AccessToken) OverrideGetCredentials()

Override GetCredentials

type Client added in v3.2.0

type Client struct {
	BaseClient *kernel.BaseClient
}

func NewClient added in v3.2.0

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

func (*Client) UserIDToOpenUserID added in v3.2.0

func (comp *Client) UserIDToOpenUserID(ctx context.Context, userIDList []string) ([]response.UserIDToOpenUserIDResult, error)

userid的转换 https://developer.work.weixin.qq.com/document/path/97062

type SuiteTicket

type SuiteTicket struct {
	App *kernel.ApplicationInterface

	*kernel.InteractsWithCache
}

func NewSuiteTicket

func NewSuiteTicket(app *kernel.ApplicationInterface) (*SuiteTicket, error)

func (*SuiteTicket) GetTicket

func (verifyTicket *SuiteTicket) GetTicket() (ticket string, err error)

func (*SuiteTicket) SetTicket

func (verifyTicket *SuiteTicket) SetTicket(ticket string) (err error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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