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

sts

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

The Security Token Service exchanges Google or third-party credentials for a short-lived access token to Google Cloud resources.

class sts {
constructor(client?: CredentialsClient, baseUrl?: string);
}

§Constructors

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

§Methods

§

Exchanges a credential for a Google OAuth 2.0 access token. The token asserts an external identity within an identity pool, or it applies a Credential Access Boundary to a Google access token. Note that workforce pools do not support Credential Access Boundaries. When you call this method, do not send the Authorization HTTP header in the request. This method does not require the Authorization header, and using the header can cause the request to fail.