@samyx/preview-stacks-client 0.29.0 → 0.30.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/types.d.ts +19 -1
- package/package.json +1 -1
package/dist/types.d.ts
CHANGED
|
@@ -293,10 +293,28 @@ export type SsoConfig = {
|
|
|
293
293
|
userInfoUrl: string;
|
|
294
294
|
/** Consulted only when the profile carries no address (GitHub's default). */
|
|
295
295
|
emailsUrl: string;
|
|
296
|
+
/** Where the provider lists this user's groups/orgs. Preset-filled; only read when `requiredGroups` is set. */
|
|
297
|
+
groupsUrl: string;
|
|
296
298
|
scopes: string;
|
|
297
299
|
claimMap: SsoClaimMap;
|
|
298
|
-
/**
|
|
300
|
+
/**
|
|
301
|
+
* The three sign-in rules. Each list is ANY-OF, and the three are ANDed with each other. An empty
|
|
302
|
+
* list is no constraint; a non-empty one FAILS CLOSED — a login the rule cannot be evaluated
|
|
303
|
+
* against is refused, not waved through.
|
|
304
|
+
*/
|
|
299
305
|
allowedEmailDomains: string[];
|
|
306
|
+
/**
|
|
307
|
+
* Glob patterns (`path.Match` semantics, so `*`, `?` and `[a-z]` all work), matched case-folded
|
|
308
|
+
* against the provider's username. Inert on a provider that supplies no username claim, which
|
|
309
|
+
* many bare OIDC providers do not — and inert here means every login is refused, not admitted.
|
|
310
|
+
*/
|
|
311
|
+
allowedUsernames: string[];
|
|
312
|
+
/**
|
|
313
|
+
* Group/org names, matched exactly and case-folded. Setting this requires a provider whose preset
|
|
314
|
+
* knows a groups endpoint, and scopes that can read it — the server refuses the save otherwise
|
|
315
|
+
* rather than letting every later login fail.
|
|
316
|
+
*/
|
|
317
|
+
requiredGroups: string[];
|
|
300
318
|
defaultRole: string;
|
|
301
319
|
};
|
|
302
320
|
export type SsoPreset = {
|
package/package.json
CHANGED