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

x/netzo/apis/create-api/auth/oauth2.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.5.30/apis/create-api/auth/oauth2.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