@azure/identity
Version:
Provides credential implementations for Azure SDK libraries that can authenticate with Microsoft Entra ID
13 lines • 677 B
text/typescript
import type { AccessToken, GetTokenOptions, TokenCredential } from "@azure/core-auth";
import type { ClientAssertionCredentialOptions } from "./clientAssertionCredentialOptions.js";
/**
* Authenticates a service principal with a JWT assertion.
*/
export declare class ClientAssertionCredential implements TokenCredential {
/**
* Only available in Node.js
*/
constructor(_tenantId: string, _clientId: string, _getAssertion: () => Promise<string>, _options?: ClientAssertionCredentialOptions);
getToken(_scopes: string | string[], _options?: GetTokenOptions): Promise<AccessToken | null>;
}
//# sourceMappingURL=clientAssertionCredential-browser.d.mts.map