Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

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

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 getTokenAuthorizationCodeFlow
import { getTokenAuthorizationCodeFlow } from "https://deno.land/x/netzo@v0.1.52/src/utils/auth/oauth2/mod.ts";

Authorization Code Flow (3-legged authorization)

Authorization Code Flow exchanges an authorization code for a token. For this exchange to take place, you have to also pass along your app’s Client Secret. The secret must be securely stored on the client side.

Use Cases: Server side web applications where the source code is not exposed publicly.

type

(authorization: AuthorizationOAuth2AuthorizationCode) => unknown