Skip to main content
Module

x/google_datastore/deps.ts>SignJWT#sign

A set of APIs that allow interfacing to Google Datastore on GCP from Deno.
Latest
method SignJWT.prototype.sign
import { SignJWT } from "https://deno.land/x/google_datastore@0.2.1/deps.ts";

Signs and returns the JWT.

Parameters

key: KeyLike | Uint8Array

Private Key or Secret to sign the JWT with.

optional
options: SignOptions

JWT Sign options.

Returns

Promise<string>