Auth Server

Types

Types

Config

Inferred TypeScript type from the config schema

type Config = { port: number; host: string; nodeEnv: "development" | "production" | "test"; jwtPrivateKey: string; jwtPublicKey: string; authDataDir: string; defaultDomainId: string; accessTokenTTL: number; refreshTokenTTL: number; issuer: string; }

CodeChallengeMethod

Supported PKCE code challenge methods.

  • S256: SHA-256 hash of the code verifier (recommended)
  • plain: Code verifier is used directly (not recommended, for testing only)
type CodeChallengeMethod = "S256" | "plain"
Previous
Interfaces