Package version:

Interface OnBehalfOfCredentialCertificateOptions

Defines the parameters to authenticate the OnBehalfOfCredential with a certificate.

interface OnBehalfOfCredentialCertificateOptions {
    certificatePath: string;
    clientId: string;
    sendCertificateChain?: boolean;
    tenantId: string;
    userAssertionToken: string;
}

Properties

certificatePath: string

The path to a PEM-encoded public/private key certificate on the filesystem.

clientId: string

The client (application) ID of an App Registration in the tenant.

sendCertificateChain?: boolean

Option to include x5c header for SubjectName and Issuer name authorization. Set this option to send base64 encoded public certificate in the client assertion header as an x5c claim

tenantId: string

The Microsoft Entra tenant (directory) ID.

userAssertionToken: string

The user assertion for the On-Behalf-Of flow.