Method: challenge.generate

Generates a new challenge.

HTTP request

POST https://verifiedaccess.googleapis.com/v2/challenge:generate

The URL uses gRPC Transcoding syntax.

Request body

The request body must be empty.

Response body

Result message for VerifiedAccess.GenerateChallenge.

If successful, the response body contains data with the following structure:

JSON representation
{
  "challenge": string
}
Fields
challenge

string (bytes format)

Generated challenge, the bytes representation of SignedData.

A base64-encoded string.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/verifiedaccess

For more information, see the Authentication Overview.