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

x/netzo/deps/deno_kv_oauth/deps.ts>OAuth2ClientConfig

Full-stack Deno framework for building business web apps like internal tools, dashboards, admin panels and automated workflows.
Go to Latest
interface OAuth2ClientConfig
import { type OAuth2ClientConfig } from "https://deno.land/x/netzo@0.5.65/deps/deno_kv_oauth/deps.ts";

Properties

clientId: string

The client ID provided by the authorization server.

optional
clientSecret: string

The client secret provided by the authorization server, if using a confidential client.

optional
redirectUri: string

The URI of the client's redirection endpoint (sometimes also called callback URI).

authorizationEndpointUri: string

The URI of the authorization server's authorization endpoint.

tokenUri: string

The URI of the authorization server's token endpoint.

optional
defaults: { requestOptions?: Omit<RequestOptions, "method">; scope?: string | string[]; stateValidator?: (state: string | null) => Promise<boolean> | boolean; }