UNPKG

@primno/dataverse-auth

Version:

Authenticate to Dataverse and Dynamics 365 with a connection string or OAuth 2.0. Provides a token persistence cache.

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>; }