Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/netzo/src/utils/auth/oauth2/mod.ts>getTokenClientCredentialsFlow

SDK for Netzo, the open platform to instantly deploy JavaScript and TypeScript to URL endpoints, connect essential APIs, automate business processes and build internal tools faster, without managing servers.
Go to Latest
variable getTokenClientCredentialsFlow
import { getTokenClientCredentialsFlow } from "https://deno.land/x/netzo@v0.1.41/src/utils/auth/oauth2/mod.ts";

Client Credential Flow (2-legged authorization)

The Client Credentials Flow allows applications to pass their Client Secret and Client ID to an authorization server, which authenticates the user, and returns a token. This happens without any user intervention.

Relevant for: M2M apps (daemons, back-end services, and CLIs)

type

(authorization: AuthorizationOAuth2ClientCredentials) => unknown