UNPKG

@primno/dataverse-auth

Version:

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

9 lines (8 loc) 407 B
export declare const EmptyString = ""; /** * Indicates whether the string is null or empty. * @param text */ export declare function isNullOrEmpty(text: string | null | undefined): text is null | undefined | ""; export declare function takeFirstNotNullOrEmpty(record: Record<string, string>, keys: string[]): string | undefined; export declare function parseBoolean(value?: string): boolean | undefined;