Documentation ¶
Index ¶
- type Client
- func (comp *Client) ClearQuota(ctx context.Context) (*response2.ResponseOpenPlatform, error)
- func (comp *Client) CreatePreAuthorizationCode(ctx context.Context) (*response.ResponseCreatePreAuthorizationCode, error)
- func (comp *Client) GetAuthorizer(ctx context.Context, appID string) (*response.ResponseGetAuthorizer, error)
- func (comp *Client) GetAuthorizerOption(ctx context.Context, appID string, name string) (*response.ResponseGetAuthorizerOption, error)
- func (comp *Client) GetAuthorizers(ctx context.Context, offset int, count int) (*response2.ResponseOpenPlatform, error)
- func (comp *Client) HandleAuthorize(ctx context.Context, authCode string) (*response.ResponseHandleAuthorize, error)
- func (comp *Client) SetAuthorizerOption(ctx context.Context, appID string, name string, value string) (*response2.ResponseOpenPlatform, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
BaseClient *kernel.BaseClient
}
func RegisterProvider ¶
func RegisterProvider(app kernel.ApplicationInterface) (*Client, error)
func (*Client) ClearQuota ¶
清空 api 的调用quota https://developers.weixin.qq.com/doc/oplatform/Third-party_Platforms/2.0/api/openApi/clear_quota.html
func (*Client) CreatePreAuthorizationCode ¶
func (*Client) GetAuthorizer ¶
func (*Client) GetAuthorizerOption ¶
func (*Client) GetAuthorizers ¶
func (*Client) HandleAuthorize ¶
Click to show internal directories.
Click to hide internal directories.