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.143/src/utils/http.helpers.ts";

Parameters

req: Request
oAuthConfig: DenoKVOAuth.OAuth2ClientConfig
completeCallback: (
tokens: DenoKVOAuth.Tokens,
newSessionId: string,
oldSessionId?: string,
) => Promise<void>
optional
basePattern: string