UNPKG

@n8n/n8n-nodes-langchain

Version:

![Banner image](https://user-images.githubusercontent.com/10284570/173569848-c624317f-42b1-45a6-ab09-f0ea3c247648.png)

15 lines (14 loc) 576 B
import type { TokenCredential, AccessToken } from '@azure/identity'; import type { INode } from 'n8n-workflow'; import type { AzureEntraCognitiveServicesOAuth2ApiCredential } from '../types'; export declare class N8nOAuth2TokenCredential implements TokenCredential { private node; private credential; constructor(node: INode, credential: AzureEntraCognitiveServicesOAuth2ApiCredential); getToken(): Promise<AccessToken | null>; getDeploymentDetails(): Promise<{ apiVersion: string; endpoint: string; resourceName: string; }>; }