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

PlayGrouping

import { PlayGrouping } from "https://googleapis.deno.dev/v1/playgrouping:v1alpha1.ts";

playgrouping.googleapis.com API.

class PlayGrouping {
constructor(client?: CredentialsClient, baseUrl?: string);
async appsTokensTagsCreateOrUpdate(
appPackage: string,
token: string,
): Promise<CreateOrUpdateTagsResponse>;
async appsTokensVerify(
appPackage: string,
token: string,
): Promise<VerifyTokenResponse>;
}

§Constructors

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

§Methods

§
appsTokensTagsCreateOrUpdate(appPackage: string, token: string, req: CreateOrUpdateTagsRequest): Promise<CreateOrUpdateTagsResponse>
[src]

Create or update tags for the user and app that are represented by the given token.

@param appPackage

Required. App whose tags are being manipulated. Format: apps/{package_name}

@param token

Required. Token for which the tags are being inserted or updated. Format: tokens/{token}

§
appsTokensVerify(appPackage: string, token: string, req: VerifyTokenRequest): Promise<VerifyTokenResponse>
[src]

Verify an API token by asserting the app and persona it belongs to. The verification is a protection against client-side attacks and will fail if the contents of the token don't match the provided values. A token must be verified before it can be used to manipulate user tags.

@param appPackage

Required. App the token belongs to. Format: apps/{package_name}

@param token

Required. The token to be verified. Format: tokens/{token}