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
func RegisterProvider ¶
func RegisterProvider(app kernel.ApplicationInterface) *AccessToken
func (*AccessToken) OverrideGetCredentials ¶
func (accessToken *AccessToken) OverrideGetCredentials()
Override GetCredentials
type Client ¶
type Client struct {
*kernel.BaseClient
}
func NewClient ¶
func NewClient(app *kernel.ApplicationInterface) *Client
func RegisterAuthProvider ¶
func RegisterAuthProvider(app kernel.ApplicationInterface) *Client
func (*Client) Session ¶
func (comp *Client) Session(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.