Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Go to Latest
variable getTokenAuthorizationCodeFlow
import { getTokenAuthorizationCodeFlow } from "https://deno.land/x/netzo@v0.1.91/lib/apis/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: AuthorizationOAuth2AuthorizationCode) => unknown