Method: challenge.create

challenge.create API

HTTP request

POST https://verifiedaccess.googleapis.com/v1/challenge

The URL uses gRPC Transcoding syntax.

Request body

The request body must be empty.

Response body

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

Result message for VerifiedAccess.CreateChallenge.

JSON representation
{
  "challenge": {
    object (SignedData)
  },
  "alternativeChallenge": {
    object (SignedData)
  }
}
Fields
challenge

object (SignedData)

Generated challenge

alternativeChallenge

object (SignedData)

Challenge generated with the old signing key (this will only be present during key rotation)

Authorization Scopes

Requires the following OAuth scope:

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

For more information, see the Authentication Overview.