Close httplib2 connections.
generate(body=None, x__xgafv=None)
Generates a new challenge.
verify(body=None, x__xgafv=None)
Verifies the challenge response.
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", # Output only. Attested device ID (ADID). "customerId": "A String", # Output only. 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", # Output only. Device enrollment id for ChromeOS devices. "devicePermanentId": "A String", # Output only. Device permanent id is returned in this field (for the machine response only). "deviceSignal": "A String", # Output only. 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. # Output only. Device signals. "allowScreenLock": True or False, # Output only. Value of the AllowScreenLock policy on the device. See https://chromeenterprise.google/policies/?policy=AllowScreenLock for more details. Available on ChromeOS only. "antivirus": { # Antivirus information on a device. # Output only. Information about Antivirus software on the device. Available on Windows only. "state": "A String", # Output only. The state of the antivirus on the device. Introduced in Chrome M136. }, "browserVersion": "A String", # Output only. Current version of the Chrome browser which generated this set of signals. Example value: "107.0.5286.0". "builtInDnsClientEnabled": True or False, # Output only. 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, # Output only. Whether access to the Chrome Remote Desktop application is blocked via a policy. "crowdStrikeAgent": { # Properties of the CrowdStrike agent installed on a device. # Output only. Crowdstrike agent properties installed on the device, if any. Available on Windows and MacOS only. "agentId": "A String", # Output only. The Agent ID of the Crowdstrike agent. "customerId": "A String", # Output only. The Customer ID to which the agent belongs to. }, "deviceAffiliationIds": [ # Output only. 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", # Output only. Enrollment domain of the customer which is currently managing the device. "deviceManufacturer": "A String", # Output only. The name of the device's manufacturer. "deviceModel": "A String", # Output only. The name of the device's model. "diskEncryption": "A String", # Output only. The encryption state of the disk. On ChromeOS, the main disk is always ENCRYPTED. "displayName": "A String", # Output only. The display name of the device, as defined by the user. "hostname": "A String", # Hostname of the device. "imei": [ # Output only. International Mobile Equipment Identity (IMEI) of the device. Available on ChromeOS only. "A String", ], "macAddresses": [ # Output only. MAC addresses of the device. "A String", ], "meid": [ # Output only. Mobile Equipment Identifier (MEID) of the device. Available on ChromeOS only. "A String", ], "operatingSystem": "A String", # Output only. The type of the Operating System currently running on the device. "osFirewall": "A String", # Output only. 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. Support for MacOS 15 (Sequoia) and later has been introduced in Chrome M131. "osVersion": "A String", # Output only. The current version of the Operating System. On Windows and linux, the value will also include the security patch information. "passwordProtectionWarningTrigger": "A String", # Output only. 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": [ # Output only. 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", # Output only. Enrollment domain of the customer which is currently managing the profile. "realtimeUrlCheckMode": "A String", # Output only. 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", # Output only. Safe Browsing Protection Level. That setting may be controlled by an enterprise policy: https://chromeenterprise.google/policies/#SafeBrowsingProtectionLevel. "screenLockSecured": "A String", # Output only. 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", # Output only. Whether the device's startup software has its Secure Boot feature enabled. Available on Windows only. "serialNumber": "A String", # Output only. 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, # Output only. 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, # Output only. 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", # Output only. The trigger which generated this set of signals. "windowsMachineDomain": "A String", # Output only. Windows domain that the current machine has joined. Available on Windows only. "windowsUserDomain": "A String", # Output only. Windows domain for the current OS user. Available on Windows only. }, "keyTrustLevel": "A String", # Output only. Device attested key trust level. "profileCustomerId": "A String", # Output only. 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", # Output only. Profile attested key trust level. "profilePermanentId": "A String", # Output only. The unique server-side ID of a profile on the device. "signedPublicKeyAndChallenge": "A String", # Output only. 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", # Output only. Virtual device id of the device. The definition of virtual device id is platform-specific. "virtualProfileId": "A String", # Output only. The client-provided ID of a profile on the device. }