class Challenge extends Resource (View source)

The "challenge" collection of methods.

Typical usage is:

 $verifiedaccessService = new Google\Service\Verifiedaccess(...);
 $challenge = $verifiedaccessService->challenge;

Methods

generate(VerifiedaccessEmpty $postBody, array $optParams = [])

Generates a new challenge. (challenge.generate)

verify(VerifyChallengeResponseRequest $postBody, array $optParams = [])

Verifies the challenge response. (challenge.verify)

Details

Challenge generate(VerifiedaccessEmpty $postBody, array $optParams = [])

Generates a new challenge. (challenge.generate)

Parameters

VerifiedaccessEmpty $postBody
array $optParams

Optional parameters.

Return Value

Challenge

Exceptions

Exception

VerifyChallengeResponseResult verify(VerifyChallengeResponseRequest $postBody, array $optParams = [])

Verifies the challenge response. (challenge.verify)

Parameters

VerifyChallengeResponseRequest $postBody
array $optParams

Optional parameters.

Return Value

VerifyChallengeResponseResult

Exceptions

Exception