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

ExternalData

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

Data hosted at an external location. The data is to be downloaded by Android Device Policy and verified against the hash.

interface ExternalData {
sha256Hash?: string;
url?: string;
}

§Properties

§
sha256Hash?: string
[src]

The base-64 encoded SHA-256 hash of the content hosted at url. If the content doesn't match this hash, Android Device Policy won't use the data.

§
url?: string
[src]

The absolute URL to the data, which must use either the http or https scheme. Android Device Policy doesn't provide any credentials in the GET request, so the URL must be publicly accessible. Including a long, random component in the URL may be used to prevent attackers from discovering the URL.