Skip to content
PackagesSecurityDocs 1.3.x

@connectum/auth

Authentication, authorization, trusted gateway and internal identity, auth context, and client credentials.

Install

bash
npm install @connectum/auth
bash
pnpm add @connectum/auth
bash
bun add @connectum/auth

Start Here

typescript
import { createJwtAuthInterceptor } from '@connectum/auth';

const jwtAuth = createJwtAuthInterceptor({
  jwksUri: 'https://id.example.com/.well-known/jwks.json',
  issuer: 'https://id.example.com/',
  audience: 'orders-api',
});

For a complete, source-verified workflow, continue with the focused guide below.

Key Entry Points

Entry pointUse it to
createJwtAuthInterceptorVerify bearer tokens with JWKS, public keys, or a shared secret.
createAuthzInterceptorApply explicit allow and deny rules.
requireAuthContextRead the verified identity in a handler.

Runtime boundaries and extension seams remain in Connectum Runtime Architecture.

Learn / Configure / API Reference

Compare all Connectum packages by capability.