CertificateResolver
Interface: CertificateResolver
Defined in: packages/core/src/core/hooks.ts:180
Resolves a verified client certificate into a user
Properties
mode?
readonlyoptionalmode?:"login"|"factor"
Defined in: packages/core/src/core/hooks.ts:182
Whether a certificate authenticates on its own or adds a factor to an existing session
Methods
resolveCertificate()
resolveCertificate(
cert,context):Promise<CertificateResolution>
Defined in: packages/core/src/core/hooks.ts:188
Parameters
cert
verified client certificate
context
context of the request
Returns
Promise<CertificateResolution>
the user authenticated by the certificate, undefined when the certificate is unknown or refused