Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/netzo/integrations/create-api/auth/oauth2/mod.ts>getToken

Full-stack Deno framework for building business web apps like internal tools, dashboards, admin panels and automated workflows.
Go to Latest
variable getToken
import { getToken } from "https://deno.land/x/netzo@0.4.42/integrations/create-api/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: AuthorizationOAuth2) => unknown