UNPKG

@drozdik.m/recaptcha

Version:
24 lines (23 loc) 541 B
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; }