peerOf: (req: any) => { authorized: boolean; cert: any } = peerOf
Type Declaration
-
- (req: any): { authorized: boolean; cert: any }
-
Returns { authorized: boolean; cert: any }
{ cert, authorized }, cert base64 JSON, or null when no
certificate was presented or it is too large to forward
Encodes what the front process saw of a request's client certificate, issuer chain included, for the header a worker is handed.
The chain is dropped first when the header would be too large.