Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

DeviceIntegrity

import type { DeviceIntegrity } from "https://googleapis.deno.dev/v1/playintegrity:v1.ts";

Contains the device attestation information.

interface DeviceIntegrity {
deviceAttributes?: DeviceAttributes;
deviceRecall?: DeviceRecall;
deviceRecognitionVerdict?:
| "UNKNOWN"
| "MEETS_BASIC_INTEGRITY"
| "MEETS_DEVICE_INTEGRITY"
| "MEETS_STRONG_INTEGRITY"
| "MEETS_VIRTUAL_INTEGRITY"[];
legacyDeviceRecognitionVerdict?:
| "UNKNOWN"
| "MEETS_BASIC_INTEGRITY"
| "MEETS_DEVICE_INTEGRITY"
| "MEETS_STRONG_INTEGRITY"
| "MEETS_VIRTUAL_INTEGRITY"[];
recentDeviceActivity?: RecentDeviceActivity;
}

§Properties

§
deviceAttributes?: DeviceAttributes
[src]

Attributes of the device where the integrity token was generated.

§
deviceRecall?: DeviceRecall
[src]

Details about the device recall bits set by the developer.

§
deviceRecognitionVerdict?: "UNKNOWN" | "MEETS_BASIC_INTEGRITY" | "MEETS_DEVICE_INTEGRITY" | "MEETS_STRONG_INTEGRITY" | "MEETS_VIRTUAL_INTEGRITY"[]
[src]

Details about the integrity of the device the app is running on.

§
legacyDeviceRecognitionVerdict?: "UNKNOWN" | "MEETS_BASIC_INTEGRITY" | "MEETS_DEVICE_INTEGRITY" | "MEETS_STRONG_INTEGRITY" | "MEETS_VIRTUAL_INTEGRITY"[]
[src]

Contains legacy details about the integrity of the device the app is running on. Only for devices with Android version T or higher and only for apps opted in to the new verdicts. Only available during the transition period to the new verdicts system and will be removed afterwards.

§
recentDeviceActivity?: RecentDeviceActivity
[src]

Details about the device activity of the device the app is running on.