Skip to main content
Module

x/deno_kv_oauth/mod.ts

High-level OAuth 2.0 powered by Deno KV.
Go to Latest
import * as denoKvOauth from "https://deno.land/x/deno_kv_oauth@v0.9.0/mod.ts";

Functions

Returns the OAuth configuration for Auth0.

Returns the OAuth configuration for Discord.

Returns the OAuth configuration for Dropbox.

Returns the OAuth configuration for Facebook.

Returns the OAuth configuration for Facebook.

Returns the OAuth configuration for GitLab.

Returns the OAuth configuration for Google.

Returns the OAuth configuration for Google.

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.

Gets the session ID for a given request. This is well-suited for checking whether the client is signed in by checking if undefined.

Handles the OAuth callback request for the given OAuth configuration, and then redirects the client to the success URL set in signIn.

Creates a basic plugin for the [Fresh]https://fresh.deno.dev/ web framework.

Handles the sign-in 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.