Package version:

Interface OnBehalfOfCredentialAssertionOptions

Defines the parameters to authenticate the OnBehalfOfCredential with an assertion.

interface OnBehalfOfCredentialAssertionOptions {
    clientId: string;
    getAssertion: (() => Promise<string>);
    tenantId: string;
    userAssertionToken: string;
}

Properties

clientId: string

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

getAssertion: (() => Promise<string>)

A function that retrieves the client assertion for the credential to use

tenantId: string

The Microsoft Entra tenant (directory) ID.

userAssertionToken: string

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