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

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

Netzo - roll out internal tools faster
Go to Latest
variable getTokenAuthorizationCodeFlow
import { getTokenAuthorizationCodeFlow } from "https://deno.land/x/netzo@v0.1.55/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