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

x/fathym_common/src/src.deps.ts>DenoKVOAuth.OAuth2ClientConfig

The Fathym Reference Architecture provides the common foundation for applications built in Typescript.
Go to Latest
interface DenoKVOAuth.OAuth2ClientConfig
Re-export
import { type DenoKVOAuth } from "https://deno.land/x/fathym_common@v0.0.141/src/src.deps.ts";
const { OAuth2ClientConfig } = DenoKVOAuth;

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; }