UNPKG

@azure/identity

Version:

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

14 lines 652 B
import type { AccessToken, GetTokenOptions, TokenCredential } from "@azure/core-auth"; import type { DeviceCodeCredentialOptions } from "./deviceCodeCredentialOptions.js"; /** * Enables authentication to Microsoft Entra ID using a device code * that the user can enter into https://microsoft.com/devicelogin. */ export declare class DeviceCodeCredential implements TokenCredential { /** * Only available in Node.js */ constructor(_options?: DeviceCodeCredentialOptions); getToken(_scopes: string | string[], _options?: GetTokenOptions): Promise<AccessToken | null>; } //# sourceMappingURL=deviceCodeCredential-browser.d.mts.map