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 deviceRecallWrite(packageName: string, req: WriteDeviceRecallRequest): Promise<WriteDeviceRecallResponse>;
async v1DecodeIntegrityToken(packageName: string, req: DecodeIntegrityTokenRequest): Promise<DecodeIntegrityTokenResponse>;
async v1DecodePcIntegrityToken(packageName: string, req: DecodePcIntegrityTokenRequest): Promise<DecodePcIntegrityTokenResponse>;
}

§Constructors

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

§Methods

§
deviceRecallWrite(packageName: string, req: WriteDeviceRecallRequest): Promise<WriteDeviceRecallResponse>
[src]

Writes recall bits for the device where Play Integrity API token is obtained. The endpoint is available to select Play partners in an early access program (EAP).

@param packageName

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

§
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.

§
v1DecodePcIntegrityToken(packageName: string, req: DecodePcIntegrityTokenRequest): Promise<DecodePcIntegrityTokenResponse>
[src]

Decodes the PC integrity token and returns the PC token payload.

@param packageName

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