Documentation ¶
Index ¶
- type CaptchaClient
- func (c *CaptchaClient) DisableLogger()
- func (c *CaptchaClient) GetSessionId(request *captcha.GetSessionIdRequest) (*captcha.GetSessionIdResponse, error)
- func (c *CaptchaClient) SetConfig(config *core.Config)
- func (c *CaptchaClient) SetLogger(logger core.Logger)
- func (c *CaptchaClient) VerifyToken(request *captcha.VerifyTokenRequest) (*captcha.VerifyTokenResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CaptchaClient ¶
type CaptchaClient struct {
core.JDCloudClient
}
func NewCaptchaClient ¶
func NewCaptchaClient(credential *core.Credential) *CaptchaClient
func (*CaptchaClient) DisableLogger ¶
func (c *CaptchaClient) DisableLogger()
func (*CaptchaClient) GetSessionId ¶
func (c *CaptchaClient) GetSessionId(request *captcha.GetSessionIdRequest) (*captcha.GetSessionIdResponse, error)
获取会话id
func (*CaptchaClient) SetConfig ¶
func (c *CaptchaClient) SetConfig(config *core.Config)
func (*CaptchaClient) SetLogger ¶
func (c *CaptchaClient) SetLogger(logger core.Logger)
func (*CaptchaClient) VerifyToken ¶
func (c *CaptchaClient) VerifyToken(request *captcha.VerifyTokenRequest) (*captcha.VerifyTokenResponse, error)
验证verifyToken
Click to show internal directories.
Click to hide internal directories.