Skip to main content
Deno 2 is finally here 🎉️
Learn more
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.142/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