Skip to main content
Module

x/deno_kv_oauth/dev_deps.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.2.7/dev_deps.ts";

Classes

Generic error returned by an OAuth 2.0 authorization server.

Enums

Standard HTTP status codes.

Variables

The number of milliseconds in a second.

Functions

Make an assertion, error will be thrown if expr does not have truthy value.

Make an assertion that actual and expected are equal, deeply. If not deeply equal, then throw.

Make an assertion that actual and expected are not equal, deeply. If not then throw.

Executes a function which returns a promise, expecting it to reject.

Make an assertion that actual includes expected. If not then throw.

Executes a function, expecting it to throw. If it does not, then it throws.

Set the cookie header with empty value in the headers to delete it

Parse cookies of a header

Parse set-cookies of a header

Convert a glob string to a regular expression.

A type guard that determines if the status code is a redirection.

Serves HTTP requests with the given handler.

Set the cookie header properly in the headers

Walks the file tree rooted at root, yielding each file or directory in the tree filtered according to the given options.

Interfaces

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

Type Aliases

An HTTP status that is a redirect (3XX).