You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add the ability to request custom scopes (permissions) on token retrieval.
Set data Gateway to default permissions to the global Entra ID app registration (SHI - Data Gateway).
* @param baseUrl Root of the URL that should have endpoints appended to it by the query building system.
14
+
* @param scopeList Specific audience and or list of permissions to request on the access token when retrieved. Defaults to the global data gateway enterprise app with whatever credentials the current principal has assigned.
14
15
* @returns Configured API client that is able to make requests against SHI Data Gateway.
Copy file name to clipboardExpand all lines: src/shield/TypeScript/index.ts
+5-2Lines changed: 5 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -11,20 +11,23 @@ export type * from './sdk/models/index.js';
11
11
* Function that initializes the SHIELD SDK.
12
12
* @param credential Configured authentication session from Entra ID.
13
13
* @param baseUrl Root of the URL that should have endpoints appended to it by the query building system.
14
+
* @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']`
14
15
* @returns Configured API client that is able to make requests against the specified SHIELD instance.
0 commit comments