@drozdik.m/recaptcha
Version:
Intuitive and easy way to use Recaptcha
24 lines (23 loc) • 541 B
TypeScript
export declare class RecaptchaV2Args {
private id;
private sitekey;
private validated;
/**
* Recaptcha arguments
* @param id Captchas ID
* @param sitekey Captchas sitekey
*/
constructor(id: string, sitekey: string, validated: boolean);
/**
* Returns captchas ID
* */
Id(): string;
/**
* Returns captchas sitekey
* */
Sitekey(): string;
/**
* Returns true if the captcha is validated, else false
* */
Validated(): boolean;
}