Skip to content

Connectum API Reference / @connectum/auth / ClientGatewayInterceptorOptions

Interface: ClientGatewayInterceptorOptions

Defined in: packages/auth/src/types.ts:383

Client-side gateway service-to-service auth interceptor options.

See

createClientGatewayInterceptor

Properties

roles?

readonly optional roles?: string[]

Defined in: packages/auth/src/types.ts:389

Optional roles to propagate (JSON-encoded in header)


secret

readonly secret: string

Defined in: packages/auth/src/types.ts:385

Shared secret for gateway trust verification


subject

readonly subject: string

Defined in: packages/auth/src/types.ts:387

Authenticated subject identifier (e.g., service name)