You are here

public function ReCaptcha::setExpectedApkPackageName in reCAPTCHA 8.2

Same name and namespace in other branches
  1. 7.2 recaptcha-php/src/ReCaptcha/ReCaptcha.php \ReCaptcha\ReCaptcha::setExpectedApkPackageName()

Provide an APK package name to match against in verify()

Parameters

string $apkPackageName Expected APK package name:

Return value

ReCaptcha Current instance for fluent interface

File

recaptcha-php/src/ReCaptcha/ReCaptcha.php, line 218

Class

ReCaptcha
reCAPTCHA client.

Namespace

ReCaptcha

Code

public function setExpectedApkPackageName($apkPackageName) {
  $this->apkPackageName = $apkPackageName;
  return $this;
}