Skip to content

client-certificate-auth API Reference


client-certificate-auth API Reference / lambda / LambdaExtractionFailure

Interface: LambdaExtractionFailure ​

Defined in: lambda.js:21

Properties ​

certificate ​

certificate: null

Defined in: lambda.js:23

Always null on this arm of the union


reason ​

reason: LambdaExtractionFailureReason

Defined in: lambda.js:24

Rejection reason code

Rejection reasons:

  • 'lambda_event_missing_clientcert' - Event carried no clientCert under either payload shape
  • 'lambda_event_clientcert_malformed' - clientCert was present but its PEM did not parse

success ​

success: false

Defined in: lambda.js:22

Always false on this arm of the union

Released under the MIT License.