Method: tokens.verify

Verify a Chrome Device Token.

HTTP request

GET https://chromedevicetoken.googleapis.com/v1/tokens/{name}:verify

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Required. The name of the token to verify. Format: tokens/{token}

Query parameters

Parameters
tokenType

enum (TokenType)

Request body

The request body must be empty.

Response body

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

Response message for verifying token.

JSON representation
{
  "token": {
    object (Token)
  },
  "tokenStatus": enum (TokenStatus)
}
Fields
token

object (Token)

tokenStatus

enum (TokenStatus)

Authorization Scopes

Requires the following OAuth scope:

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

TokenStatus

Enums
UNSPECIFIED_TOKEN_STATUS Token Status unspecified.
VALID Device token is valid
INVALID Device token is invalid