ChainedTokenCredential | @azure/identity

TokenCredential implementations to be tried in order.

Example usage:

const firstCredential = new ClientSecretCredential(tenantId, clientId, clientSecret);const secondCredential = new ClientSecretCredential(tenantId, anotherClientId, anotherSecret);const credentialChain = new ChainedTokenCredential(firstCredential, secondCredential);

You Might Also Like