UNPKG

@azure/identity

Version:

Provides credential implementations for Azure SDK libraries that can authenticate with Microsoft Entra ID

11 lines 829 B
import type { AccessToken, GetTokenOptions, TokenCredential } from "@azure/core-auth"; import type { TokenCredentialOptions } from "../../tokenCredentialOptions.js"; import type { ManagedIdentityCredentialClientIdOptions, ManagedIdentityCredentialObjectIdOptions, ManagedIdentityCredentialResourceIdOptions } from "./options.js"; export declare class ManagedIdentityCredential implements TokenCredential { constructor(clientId: string, options?: TokenCredentialOptions); constructor(options?: ManagedIdentityCredentialClientIdOptions); constructor(options?: ManagedIdentityCredentialResourceIdOptions); constructor(options?: ManagedIdentityCredentialObjectIdOptions); getToken(_scopes: string | string[], _options?: GetTokenOptions): Promise<AccessToken | null>; } //# sourceMappingURL=index-browser.d.mts.map