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

x/fathym_common/src/utils/http.helpers.ts>oAuthRequest

The Fathym Reference Architecture provides the common foundation for applications built in Typescript.
Go to Latest
function oAuthRequest
import { oAuthRequest } from "https://deno.land/x/fathym_common@v0.0.141/src/utils/http.helpers.ts";

Parameters

req: Request
clientId: string
clientSecret: string
authorizationEndpointUri: string
tokenUri: string
scope: string[]
completeCallback: (
tokens: DenoKVOAuth.Tokens,
newSessionId: string,
oldSessionId?: string,
) => Promise<void>
optional
basePattern: string