UNPKG

@primno/dataverse-client

Version:

Dataverse / Dynamics 365 CE (on-premises) client for Node.JS. Use @primno/dataverse-auth to authenticate using a connection string or OAuth 2.0.

14 lines (13 loc) 300 B
/** * Provides a token for authentication to a Dataverse instance. */ export interface TokenProvider { /** * Gets the URL of the Dataverse instance. */ url: string; /** * Gets a token for authentication to a Dataverse instance. */ getToken(): Promise<string>; }