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

PlayIntegrity

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

The Play Integrity API helps you check that you're interacting with your genuine app on a genuine Android device powered by Google Play services. The Play Integrity API has replaced SafetyNet Attestation and Android Device Verification.

class PlayIntegrity {
constructor(client?: CredentialsClient, baseUrl?: string);
async v1DecodeIntegrityToken(packageName: string, req: DecodeIntegrityTokenRequest): Promise<DecodeIntegrityTokenResponse>;
}

§Constructors

§
new PlayIntegrity(client?: CredentialsClient, baseUrl?: string)
[src]

§Methods

§
v1DecodeIntegrityToken(packageName: string, req: DecodeIntegrityTokenRequest): Promise<DecodeIntegrityTokenResponse>
[src]

Decodes the integrity token and returns the token payload.

@param packageName

Package name of the app the attached integrity token belongs to.