Skip to main content
Module

x/google_datastore/auth.ts>createCustomToken

A set of APIs that allow interfacing to Google Datastore on GCP from Deno.
Go to Latest
function createCustomToken
import { createCustomToken } from "https://deno.land/x/google_datastore@0.0.14/auth.ts";

Generates a custom token that can be used with Firebase's signInWithCustomToken() API.

Parameters

optional
claims: Record<string, unknown>

Returns

Promise<string>