/var/www/flurhymez/vendor/google/apiclient-services/src/Verifiedaccess/Resource
Edit: /var/www/flurhymez/vendor/google/apiclient-services/src/Verifiedaccess/Resource/Challenge.php (2233B)
* $verifiedaccessService = new Google\Service\Verifiedaccess(...);
* $challenge = $verifiedaccessService->challenge;
*
*/
class Challenge extends \Google\Service\Resource
{
/**
* CreateChallenge API (challenge.create)
*
* @param VerifiedaccessEmpty $postBody
* @param array $optParams Optional parameters.
* @return ChallengeModel
*/
public function create(VerifiedaccessEmpty $postBody, $optParams = [])
{
$params = ['postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('create', [$params], ChallengeModel::class);
}
/**
* VerifyChallengeResponse API (challenge.verify)
*
* @param VerifyChallengeResponseRequest $postBody
* @param array $optParams Optional parameters.
* @return VerifyChallengeResponseResult
*/
public function verify(VerifyChallengeResponseRequest $postBody, $optParams = [])
{
$params = ['postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('verify', [$params], VerifyChallengeResponseResult::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Challenge::class, 'Google_Service_Verifiedaccess_Resource_Challenge');