UNPKG

@primno/dataverse-auth

Version:

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

5 lines (4 loc) 303 B
import { Authority } from "../../oauth/authority"; import { OAuthCredentials } from "../../oauth/oauth-configuration"; import { ConnectionString } from "../connection-string"; export declare function convertToOAuth2Credential(connectionString: ConnectionString, authority: Authority): OAuthCredentials;