Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/fathym_common/src/oauth/OAuthHelpers.ts>OAuthHelpers

The Fathym Reference Architecture provides the common foundation for applications built in Typescript.
Latest
type alias OAuthHelpers
import { type OAuthHelpers } from "https://deno.land/x/fathym_common@v0.2.167/src/oauth/OAuthHelpers.ts";

The OAuth helpers interface.

definition: { signIn(request: Request, options?: DenoKVOAuth.SignInOptions): Promise<Response>; handleCallback(request: Request): Promise<{ response: Response; sessionId: string; tokens: DenoKVOAuth.Tokens; }>; signOut(request: Request): Promise<Response>; getSessionId(request: Request): Promise<string | undefined>; }