UNPKG

@nestlab/google-recaptcha

Version:
12 lines (11 loc) 843 B
import { AbstractGoogleRecaptchaValidator } from './validators/abstract-google-recaptcha-validator'; import { GoogleRecaptchaValidator } from './validators/google-recaptcha.validator'; import { GoogleRecaptchaEnterpriseValidator } from './validators/google-recaptcha-enterprise.validator'; import { RecaptchaConfigRef } from '../models/recaptcha-config-ref'; export declare class RecaptchaValidatorResolver { private readonly configRef; protected readonly googleRecaptchaValidator: GoogleRecaptchaValidator; protected readonly googleRecaptchaEnterpriseValidator: GoogleRecaptchaEnterpriseValidator; constructor(configRef: RecaptchaConfigRef, googleRecaptchaValidator: GoogleRecaptchaValidator, googleRecaptchaEnterpriseValidator: GoogleRecaptchaEnterpriseValidator); resolve(): AbstractGoogleRecaptchaValidator<unknown>; }