Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/oauth2_server/authorization_server.ts>ClientInterface

A standards compliant implementation of an OAuth 2.0 authorization server with PKCE support.
Latest
interface ClientInterface
Re-export
import { type ClientInterface } from "https://deno.land/x/oauth2_server@0.12.0/authorization_server.ts";

Properties

id: string | number | BigInt

A unique identifier.

optional
grants: string[] | null

Grant types allowed for the client.

optional
redirectUris: string[] | null

Redirect URIs allowed for the client. Required for the authorization_code grant type.

optional
accessTokenLifetime: number | null

Client specific lifetime of access tokens in seconds.

optional
refreshTokenLifetime: number | null

Client specific lifetime of refresh tokens in seconds.