@nestlab/google-recaptcha
Version:
Google recaptcha module for NestJS.
13 lines (12 loc) • 630 B
TypeScript
import { GoogleRecaptchaModuleOptions } from '../interfaces/google-recaptcha-module-options';
import { GoogleRecaptchaEnterpriseOptions } from '../interfaces/google-recaptcha-enterprise-options';
import { ScoreValidator, SkipIfValue } from '../types';
export declare class RecaptchaConfigRef {
private readonly value;
get valueOf(): GoogleRecaptchaModuleOptions;
constructor(value: GoogleRecaptchaModuleOptions);
setSecretKey(secretKey: string): this;
setEnterpriseOptions(options: GoogleRecaptchaEnterpriseOptions): this;
setScore(score: ScoreValidator): this;
setSkipIf(skipIf: SkipIfValue): this;
}