client-certificate-auth API Reference
client-certificate-auth API Reference / clientCertificateAuth / ClientCertRequest
Interface: ClientCertRequest
Defined in: clientCertificateAuth.d.ts:27
Extended request object with TLS socket and optional Express properties.
Extends
IncomingMessage
Properties
clientCertificate?
optionalclientCertificate:PeerCertificate|DetailedPeerCertificate
Defined in: clientCertificateAuth.d.ts:42
Client certificate attached by clientCertificateAuth middleware. Available after successful certificate extraction, before authorization callback. Contains issuerCertificate chain if includeChain option is true.
secure?
optionalsecure:boolean
Defined in: clientCertificateAuth.d.ts:29
True if connection is over HTTPS (Express-specific)
socket
socket:
TLSSocket&object
Defined in: clientCertificateAuth.d.ts:31
TLS socket with authorization properties
Type Declaration
authorizationError?
optionalauthorizationError:string
Error message if authorization failed
authorized?
optionalauthorized:boolean
Whether the client certificate was authorized at the TLS layer
Overrides
IncomingMessage.socket