Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccessToken ¶
type AccessToken struct {
*kernel.AccessToken
}
func NewAccessToken ¶
func NewAccessToken(app *kernel.ApplicationInterface) (*AccessToken, error)
func RegisterProvider ¶
func RegisterProvider(app kernel.ApplicationInterface) (*AccessToken, error)
func (*AccessToken) OverrideGetCredentials ¶
func (accessToken *AccessToken) OverrideGetCredentials()
Override GetCredentials
type Client ¶
type Client struct {
BaseClient *kernel.BaseClient
}
func RegisterAuthProvider ¶
func RegisterAuthProvider(app kernel.ApplicationInterface) (*Client, error)
func (*Client) Session ¶
func (comp *Client) Session(ctx context.Context, code string) (*response.ResponseCode2Session, error)
登录凭证校验。 https://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/login/auth.code2Session.html
Click to show internal directories.
Click to hide internal directories.