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

x/fathym_common/src/deno.deps.ts

The Fathym Reference Architecture provides the common foundation for applications built in Typescript.
Go to Latest
import * as fathymCommon from "https://deno.land/x/fathym_common@v0.0.177/src/deno.deps.ts";

Functions

Returns the OAuth configuration for Auth0.

Returns the OAuth configuration for Azure.

Returns the OAuth configuration for Azure.

Returns the OAuth configuration for Discord.

Returns the OAuth configuration for Dropbox.

Returns the OAuth configuration for Facebook.

Returns the OAuth configuration for GitHub.

Returns the OAuth configuration for GitLab.

Returns the OAuth configuration for Google.

Creates the full set of helpers with the given OAuth configuration and options.

Returns the OAuth configuration for Notion.

Returns the OAuth configuration for Okta.

Returns the OAuth configuration for Patreon.

Returns the OAuth configuration for Slack.

Returns the OAuth configuration for Spotify.

Returns the OAuth configuration for Twitter.

Returns the environment variable with the given key after ensuring that it's been set in the current process. This can be used when defining a custom OAuth configuration.

Gets the session ID from the cookie header of a request. This can be used to check whether the client is signed-in and whether the session ID was created on the server by checking if the return value is defined.

Handles the OAuth callback request for the given OAuth configuration, and then redirects the client to the success URL set in signIn. The request URL must match the redirect URL of the OAuth application.

Handles the sign-in request and process for the given OAuth configuration and redirects the client to the authorization URL.

Handles the sign-out process, and then redirects the client to the given success URL.

Interfaces

Represents an HTTP Cookie.

Options for createHelpers.

Options for getSessionId.

Options for handleCallback.

Options for signIn.

Options for signOut.

Tokens and associated information received from a successful access token request.