LeanCloud C# SDK
Loading...
Searching...
No Matches
Static Public Member Functions | List of all members
LeanCloud.Storage.LCCaptchaClient Class Reference

Requests a CAPTCHA image and sends the verification code. More...

Static Public Member Functions

static async Task< LCCaptureRequestCaptcha (int width=82, int height=39)
 Requests a CAPTCHA image from LeanCloud.
 
static async Task VerifyCaptcha (string code, string token)
 Sends the code to LeanCloud for verification.
 

Detailed Description

Requests a CAPTCHA image and sends the verification code.

Member Function Documentation

◆ RequestCaptcha()

static async Task< LCCapture > LeanCloud.Storage.LCCaptchaClient.RequestCaptcha ( int  width = 82,
int  height = 39 
)
inlinestatic

Requests a CAPTCHA image from LeanCloud.

Parameters
widthWidth of the CAPTCHA image.
heightHeight of the CAPTCHA image.
Returns

◆ VerifyCaptcha()

static async Task LeanCloud.Storage.LCCaptchaClient.VerifyCaptcha ( string  code,
string  token 
)
inlinestatic

Sends the code to LeanCloud for verification.

Parameters
codeentered by the user
tokenfor LeanCloud to recognize which CAPTCHA to verify
Returns

The documentation for this class was generated from the following file: