Skip to content

client-certificate-auth API Reference


client-certificate-auth API Reference / helpers / allowSubject

Function: allowSubject()

allowSubject(match): ValidationCallback

Defined in: helpers.d.ts:56

Create a validation callback that allows certificates with matching subject fields. All specified fields must match (partial matching).

Parameters

match

DNFields

Subject fields to match

Returns

ValidationCallback

Released under the MIT License.