@azure/identity
Version:
Provides credential implementations for Azure SDK libraries that can authenticate with Microsoft Entra ID
13 lines • 676 B
text/typescript
import type { AccessToken, GetTokenOptions, TokenCredential } from "@azure/core-auth";
import type { OnBehalfOfCredentialOptions } from "./onBehalfOfCredentialOptions.js";
/**
* Enables authentication to Microsoft Entra ID using the [On Behalf Of flow](https://learn.microsoft.com/entra/identity-platform/v2-oauth2-on-behalf-of-flow).
*/
export declare class OnBehalfOfCredential implements TokenCredential {
/**
* Only available in Node.js
*/
constructor(_options: OnBehalfOfCredentialOptions);
getToken(_scopes: string | string[], _options?: GetTokenOptions): Promise<AccessToken | null>;
}
//# sourceMappingURL=onBehalfOfCredential-browser.d.mts.map