@shi-corp/sdk-shield
Version:
SDK client used to interface with the SHIELD application.
11 lines (10 loc) • 757 B
TypeScript
import type { TokenCredential } from "@azure/core-auth";
export type * from './sdk/models/index.js';
/**
* Function that initializes the SHIELD SDK.
* @param credential Configured authentication session from Entra ID.
* @param baseUrl Root of the URL that should have endpoints appended to it by the query building system.
* @param scopeList Where each array item is a different Entra ID standard scope to request on token retrieval. E.g. `['313f3894-325a-4aae-ba2b-bbdfdc1f063b/.default']`
* @returns Configured API client that is able to make requests against the specified SHIELD instance.
*/
export declare function shieldClientFactory(credential: TokenCredential, baseUrl: URL, scopeList: string[]): import("./sdk/shieldClient.js").ShieldClient;