Chrome Verified Access API . challenge

Instance Methods

close()

Close httplib2 connections.

generate(body=None, x__xgafv=None)

Generates a new challenge.

verify(body=None, x__xgafv=None)

Verifies the challenge response.

Method Details

close()
Close httplib2 connections.
generate(body=None, x__xgafv=None)
Generates a new challenge.

Args:
  body: object, The request body.
    The object takes the form of:

{ # A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }
}

  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # Result message for VerifiedAccess.GenerateChallenge.
  "challenge": "A String", # Generated challenge, the bytes representation of SignedData.
}
verify(body=None, x__xgafv=None)
Verifies the challenge response.

Args:
  body: object, The request body.
    The object takes the form of:

{ # Signed ChallengeResponse.
  "challengeResponse": "A String", # Required. The generated response to the challenge, the bytes representation of SignedData.
  "expectedIdentity": "A String", # Optional. Service can optionally provide identity information about the device or user associated with the key. For an EMK, this value is the enrolled domain. For an EUK, this value is the user's email address. If present, this value will be checked against contents of the response, and verification will fail if there is no match.
}

  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # Result message for VerifiedAccess.VerifyChallengeResponse.
  "attestedDeviceId": "A String", # Attested device ID (ADID).
  "customerId": "A String", # Unique customer id that this device belongs to, as defined by the Google Admin SDK at https://developers.google.com/admin-sdk/directory/v1/guides/manage-customers
  "deviceEnrollmentId": "A String", # Device enrollment id for ChromeOS devices.
  "devicePermanentId": "A String", # Device permanent id is returned in this field (for the machine response only).
  "deviceSignal": "A String", # Deprecated. Device signal in json string representation. Prefer using `device_signals` instead.
  "deviceSignals": { # The device signals as reported by Chrome. Unless otherwise specified, signals are available on all platforms. # Device signals.
    "allowScreenLock": True or False, # Value of the AllowScreenLock policy on the device. See https://chromeenterprise.google/policies/?policy=AllowScreenLock for more details. Available on ChromeOS only.
    "browserVersion": "A String", # Current version of the Chrome browser which generated this set of signals. Example value: "107.0.5286.0".
    "builtInDnsClientEnabled": True or False, # Whether Chrome's built-in DNS client is used. The OS DNS client is otherwise used. This value may be controlled by an enterprise policy: https://chromeenterprise.google/policies/#BuiltInDnsClientEnabled.
    "chromeRemoteDesktopAppBlocked": True or False, # Whether access to the Chrome Remote Desktop application is blocked via a policy.
    "crowdStrikeAgent": { # Properties of the CrowdStrike agent installed on a device. # Crowdstrike agent properties installed on the device, if any. Available on Windows and MacOS only.
      "agentId": "A String", # The Agent ID of the Crowdstrike agent.
      "customerId": "A String", # The Customer ID to which the agent belongs to.
    },
    "deviceAffiliationIds": [ # Affiliation IDs of the organizations that are affiliated with the organization that is currently managing the device. When the sets of device and profile affiliation IDs overlap, it means that the organizations managing the device and user are affiliated. To learn more about user affiliation, visit https://support.google.com/chrome/a/answer/12801245?ref_topic=9027936.
      "A String",
    ],
    "deviceEnrollmentDomain": "A String", # Enrollment domain of the customer which is currently managing the device.
    "deviceManufacturer": "A String", # The name of the device's manufacturer.
    "deviceModel": "A String", # The name of the device's model.
    "diskEncryption": "A String", # The encryption state of the disk. On ChromeOS, the main disk is always ENCRYPTED.
    "displayName": "A String", # The display name of the device, as defined by the user.
    "hostname": "A String", # Hostname of the device.
    "imei": [ # International Mobile Equipment Identity (IMEI) of the device. Available on ChromeOS only.
      "A String",
    ],
    "macAddresses": [ # MAC addresses of the device.
      "A String",
    ],
    "meid": [ # Mobile Equipment Identifier (MEID) of the device. Available on ChromeOS only.
      "A String",
    ],
    "operatingSystem": "A String", # The type of the Operating System currently running on the device.
    "osFirewall": "A String", # The state of the OS level firewall. On ChromeOS, the value will always be ENABLED on regular devices and UNKNOWN on devices in developer mode.
    "osVersion": "A String", # The current version of the Operating System. On Windows and linux, the value will also include the security patch information.
    "passwordProtectionWarningTrigger": "A String", # Whether the Password Protection Warning feature is enabled or not. Password protection alerts users when they reuse their protected password on potentially suspicious sites. This setting is controlled by an enterprise policy: https://chromeenterprise.google/policies/#PasswordProtectionWarningTrigger. Note that the policy unset does not have the same effects as having the policy explicitly set to `PASSWORD_PROTECTION_OFF`.
    "profileAffiliationIds": [ # Affiliation IDs of the organizations that are affiliated with the organization that is currently managing the Chrome Profile’s user or ChromeOS user.
      "A String",
    ],
    "profileEnrollmentDomain": "A String", # Enrollment domain of the customer which is currently managing the profile.
    "realtimeUrlCheckMode": "A String", # Whether Enterprise-grade (i.e. custom) unsafe URL scanning is enabled or not. This setting may be controlled by an enterprise policy: https://chromeenterprise.google/policies/#EnterpriseRealTimeUrlCheckMode
    "safeBrowsingProtectionLevel": "A String", # Safe Browsing Protection Level. That setting may be controlled by an enterprise policy: https://chromeenterprise.google/policies/#SafeBrowsingProtectionLevel.
    "screenLockSecured": "A String", # The state of the Screen Lock password protection. On ChromeOS, this value will always be ENABLED as there is not way to disable requiring a password or pin when unlocking the device.
    "secureBootMode": "A String", # Whether the device's startup software has its Secure Boot feature enabled. Available on Windows only.
    "serialNumber": "A String", # The serial number of the device. On Windows, this represents the BIOS's serial number. Not available on most Linux distributions.
    "siteIsolationEnabled": True or False, # Whether the Site Isolation (a.k.a Site Per Process) setting is enabled. That setting may be controlled by an enterprise policy: https://chromeenterprise.google/policies/#SitePerProcess
    "systemDnsServers": [ # List of the addesses of all OS level DNS servers configured in the device's network settings.
      "A String",
    ],
    "thirdPartyBlockingEnabled": True or False, # Whether Chrome is blocking third-party software injection or not. This setting may be controlled by an enterprise policy: https://chromeenterprise.google/policies/?policy=ThirdPartyBlockingEnabled. Available on Windows only.
    "trigger": "A String", # The trigger which generated this set of signals.
    "windowsMachineDomain": "A String", # Windows domain that the current machine has joined. Available on Windows only.
    "windowsUserDomain": "A String", # Windows domain for the current OS user. Available on Windows only.
  },
  "keyTrustLevel": "A String", # Device attested key trust level.
  "profileCustomerId": "A String", # Unique customer id that this profile belongs to, as defined by the Google Admin SDK at https://developers.google.com/admin-sdk/directory/v1/guides/manage-customers
  "profileKeyTrustLevel": "A String", # Profile attested key trust level.
  "signedPublicKeyAndChallenge": "A String", # Certificate Signing Request (in the SPKAC format, base64 encoded) is returned in this field. This field will be set only if device has included CSR in its challenge response. (the option to include CSR is now available for both user and machine responses)
  "virtualDeviceId": "A String", # Virtual device id of the device. The definition of virtual device id is platform-specific.
  "virtualProfileId": "A String", # The ID of a profile on the device.
}