axiam-sdk 1.0.0-beta12 → 1.0.0-beta14

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.
Files changed (48) hide show
  1. package/README.md +127 -5
  2. package/dist/{authzCore-CrrzL1vM.d.cts → authzCore-BZahGkBf.d.cts} +13 -0
  3. package/dist/{authzCore-IhJd8o4F.d.ts → authzCore-Biyca_Rm.d.ts} +13 -0
  4. package/dist/browser/index.d.cts +2 -2
  5. package/dist/browser/index.d.ts +2 -2
  6. package/dist/{client-D4kjfJom.d.ts → client-BXXwSvBI.d.ts} +222 -3
  7. package/dist/{client-DCELYRNc.d.cts → client-JWANinYZ.d.cts} +222 -3
  8. package/dist/{cookieJar-BlNA_aEI.d.cts → cookieJar-DXyJgm8n.d.cts} +2 -2
  9. package/dist/{cookieJar-BFJ_6mup.d.ts → cookieJar-DZSc_d8H.d.ts} +2 -2
  10. package/dist/grpc/index.d.cts +4 -4
  11. package/dist/grpc/index.d.ts +4 -4
  12. package/dist/grpc/index.js +61 -0
  13. package/dist/grpc/index.js.map +1 -1
  14. package/dist/grpc/index.mjs +61 -0
  15. package/dist/grpc/index.mjs.map +1 -1
  16. package/dist/index.d.cts +2 -2
  17. package/dist/index.d.ts +2 -2
  18. package/dist/index.js +61 -0
  19. package/dist/index.js.map +1 -1
  20. package/dist/index.mjs +61 -0
  21. package/dist/index.mjs.map +1 -1
  22. package/dist/middleware/index.d.cts +6 -5
  23. package/dist/middleware/index.d.ts +6 -5
  24. package/dist/middleware/index.js +196 -9
  25. package/dist/middleware/index.js.map +1 -1
  26. package/dist/middleware/index.mjs +194 -11
  27. package/dist/middleware/index.mjs.map +1 -1
  28. package/dist/nestjs/index.d.cts +2 -1
  29. package/dist/nestjs/index.d.ts +2 -1
  30. package/dist/node/index.d.cts +5 -4
  31. package/dist/node/index.d.ts +5 -4
  32. package/dist/node/index.js +249 -9
  33. package/dist/node/index.js.map +1 -1
  34. package/dist/node/index.mjs +246 -10
  35. package/dist/node/index.mjs.map +1 -1
  36. package/dist/{oidcState-Ox2WiunH.d.cts → oidcState-C_9FRWTp.d.cts} +104 -2
  37. package/dist/{oidcState-CsDlOyeU.d.ts → oidcState-YzbbVX-C.d.ts} +104 -2
  38. package/dist/rest/index.d.cts +3 -3
  39. package/dist/rest/index.d.ts +3 -3
  40. package/dist/rest/index.js +61 -0
  41. package/dist/rest/index.js.map +1 -1
  42. package/dist/rest/index.mjs +61 -0
  43. package/dist/rest/index.mjs.map +1 -1
  44. package/dist/revocationFeed-CDoD7Twr.d.cts +59 -0
  45. package/dist/revocationFeed-CDoD7Twr.d.ts +59 -0
  46. package/dist/{session-BIRL5RKr.d.cts → session-B0Lkz0X9.d.cts} +11 -0
  47. package/dist/{session-DU6fggqX.d.ts → session-fJCGq5jw.d.ts} +11 -0
  48. package/package.json +3 -3
package/README.md CHANGED
@@ -20,7 +20,7 @@ Official TypeScript/JavaScript client SDK for [AXIAM](https://github.com/ilpanic
20
20
 
21
21
  ## Contract conformance
22
22
 
23
- This SDK conforms to **contract 1.38**: CONTRACT.md §1–§13 and §12.7, §14, §15, §17, §19,
23
+ This SDK conforms to **contract 1.42**: CONTRACT.md §1–§13 and §12.7, §14, §15, §17, §19,
24
24
  §20, §21, §22, §23, §24, §25, §26, §27 (including §6.1 mTLS client certificates, the §10.1
25
25
  minimum local-verification set, the §12 OIDC/SSO relying-party helpers, and the §13
26
26
  `verifyWebhook` signature verifier). §12 is implemented in full at its 1.38 shape: all
@@ -32,7 +32,7 @@ browser bundle pulls in no Node-only code. §12.2 forbids splitting them across
32
32
  the four operations contract 1.38 adds are on `OidcClient` too, with the nine that preceded
33
33
  them, even though three of them need no Node-only code at all.
34
34
 
35
- §27 is implemented **in full**, both halves: the 147-operation imperative surface *and*
35
+ §27 is implemented **in full**, both halves: the 158-operation imperative surface *and*
36
36
  the §27.6 declarative manifest with its §27.7 `defineManifest` and decorator forms. The
37
37
  contract asks an SDK that ships only one half to say which; this one ships both.
38
38
 
@@ -180,6 +180,99 @@ const client = new AxiamClient({
180
180
  browser build validates the PEM shape then ignores `clientCert`/`clientKey` — exactly as
181
181
  it already ignores `customCa`.
182
182
 
183
+ #### RFC 8705 §5 `mtls_endpoint_aliases` (contract 1.40, CONTRACT.md §21.3 rule 2)
184
+
185
+ A TLS listener decides whether to ask for a client certificate during the handshake,
186
+ before it has seen a byte of HTTP, so "request one on `/oauth2/token` but not on
187
+ `/oauth2/authorize`" is not something a single listener can do. A deployment that wants
188
+ both runs two — and `mtls_endpoint_aliases` in the discovery document is how the second
189
+ one is named.
190
+
191
+ Once the client above is built with a `clientCert`, every request it makes presents that
192
+ certificate, so the §12 helpers **prefer the alias** over the top-level entry of the same
193
+ name wherever the document publishes one:
194
+
195
+ | Operation | Endpoint aliased |
196
+ |---|---|
197
+ | `oidcExchange`, `oidcRefresh`, `loginClientCredentials`, `tokenExchange`, `umaExchangeTicket` | `token_endpoint` |
198
+ | `introspect` | `introspection_endpoint` |
199
+ | `revoke` | `revocation_endpoint` |
200
+ | `deviceAuthorize` | `device_authorization_endpoint` |
201
+ | `oidcPar` | `pushed_authorization_request_endpoint` |
202
+
203
+ Three things this deliberately does **not** do:
204
+
205
+ - **An absent `mtls_endpoint_aliases` is not an error.** It means "this deployment
206
+ terminates mutual TLS on the issuer's own host", so the conventional endpoints keep
207
+ being used. A deployment running `client_auth = optional` on one listener serves both
208
+ populations there and correctly publishes nothing.
209
+ - **No alias is ever synthesised.** Only the six endpoints RFC 8705 §5 lists can be
210
+ aliased — never `authorization_endpoint`, `end_session_endpoint` or `jwks_uri`. The
211
+ first two are front-channel and the third is public key material; sending a browser to
212
+ an mTLS host raises a native certificate-chooser dialog most users cannot answer.
213
+ - **`issuer` does not move.** It is an identifier, not an endpoint. §12.4 rule 3 still
214
+ requires a token's `iss` to equal the document's `issuer` by exact string comparison,
215
+ including for a token minted at an alias endpoint — the expected issuer is never derived
216
+ from the host that was called.
217
+
218
+ A client without a `clientCert` keeps using the top-level endpoints even when the document
219
+ publishes aliases: the alias exists for the handshake, and there is no handshake to make.
220
+
221
+ #### A malformed alias is refused, never fallen back from (contract 1.43)
222
+
223
+ An alias that is *present* and cannot carry a certificate throws rather than reverting to
224
+ the top-level endpoint. Falling back looks like the safe answer and is the dangerous one:
225
+ the caller asked to authenticate with a certificate, the operator published something
226
+ unusable, and sending the certificate to the front-channel host authenticates nothing
227
+ while appearing to work.
228
+
229
+ Two defects, each a refusal on its own — **not an absolute URL**, and **a scheme weaker
230
+ than the top-level endpoint the alias replaces**. The second compares like with like: an
231
+ alias substitutes for exactly one endpoint, so `https` → `http` is a downgrade while
232
+ `http` → `http` is a development deployment and is accepted.
233
+
234
+ A client with no `clientCert` never reads the member at all, not even to validate it, so a
235
+ deployment whose aliases are malformed cannot break the clients that never use them.
236
+
237
+ ### §10.4 the session-revocation feed (contract 1.44, opt-in)
238
+
239
+ §10.2 records the gap this narrows: local verification proves a token was issued and has
240
+ not expired, never that the session behind it still exists. A logout or a role removal
241
+ does not reach a token already in a caller's hands until it expires — up to fifteen
242
+ minutes. The documented answer has been "route the decision through gRPC introspection
243
+ instead", which is correct and costs a round trip **per request**.
244
+
245
+ A deployment can publish `GET /oauth2/revocations`: the hashed ids of sessions revoked
246
+ within the last access-token lifetime. Attach a poller and the guard rejects a revoked
247
+ session within **one poll interval** instead, for one cacheable fetch per interval:
248
+
249
+ ```typescript
250
+ import { RevocationFeed } from 'axiam-sdk/node';
251
+
252
+ const session = {
253
+ jwksVerifier,
254
+ tenantHeaderValue: tenantId,
255
+ revocationFeed: new RevocationFeed('https://iam.example.com'),
256
+ };
257
+ ```
258
+
259
+ **It is not a control, and every property follows from that.** It is off unless you set
260
+ one. It is never consulted over the network on the request path once warm —
261
+ `authenticateRequest` reads a cached set. And it **never fails closed**: an unreachable
262
+ feed, a non-`200`, a body that does not parse, or an `alg` this build does not know all
263
+ behave exactly as no feed at all — not as an empty list, which would assert that nothing
264
+ has been revoked and is a guard silently honouring no revocations while appearing to
265
+ honour them. Every §10.1 rule runs first and still decides; the feed can only ever turn an
266
+ accept into a reject.
267
+
268
+ A token with no `sid` — a client-credentials token, an RPT, a token exchange — is never
269
+ matched against it. There is no session behind one, and hashing `jti` instead would match
270
+ nothing while looking like it worked.
271
+
272
+ The poll interval defaults to 30 seconds and is clamped to a 15-second floor; the cached
273
+ set is bounded, and a document larger than the bound is treated as unusable rather than
274
+ truncated — a truncated set is a guard that admits some revoked sessions and reports none.
275
+
183
276
  ## Usage per persona
184
277
 
185
278
  ### Browser — login + authz (`axiam-sdk` / `axiam-sdk/rest`)
@@ -1386,6 +1479,35 @@ by a client registered for `tls_client_auth` / `private_key_jwt` /
1386
1479
  `self_signed_tls_client_auth` (which is refused, not ignored), or a client
1387
1480
  certificate the transport did not present.
1388
1481
 
1482
+ ### `dpop_jkt` (RFC 9449 §10.1, contract 1.42)
1483
+
1484
+ `oidcPar` accepts an optional `dpopJkt`, pushed as `dpop_jkt` **only when you set
1485
+ it** and omitted entirely otherwise:
1486
+
1487
+ ```ts
1488
+ const pushed = await oidc.oidcPar({
1489
+ request, redirectUri, configuration,
1490
+ dpopJkt: jwkThumbprintS256(myDpopPublicJwk), // exported from axiam-sdk/node
1491
+ });
1492
+ ```
1493
+
1494
+ Without it the authorization code is bound to a DPoP key only at the token
1495
+ request, so an attacker who steals the code can redeem it with a key of their
1496
+ own. RFC 9449 §10 binds the code to the key at authorization time instead —
1497
+ which is the point of pushing the request over the back channel in the first
1498
+ place.
1499
+
1500
+ **You supply the value; the SDK does not derive it.** This SDK implements the
1501
+ resource-server half of DPoP (§21.7.2 proof *verification*) and ships no proof
1502
+ generator, so it holds no DPoP key whose thumbprint it could take.
1503
+ `jwkThumbprintS256` is exported for the client that does, and produces exactly
1504
+ the RFC 7638 value this parameter wants.
1505
+
1506
+ **`request_uri` is not on this surface and will not be added.** RFC 9126 §2.1
1507
+ makes it the one authorization parameter a client MUST NOT push; `openapi.json`
1508
+ models it on the request schema so the *server* can refuse it. A client able to
1509
+ send one is a client able to chain one pushed request into another.
1510
+
1389
1511
  ## Logout — RP-initiated and back-channel (`axiam-sdk/node`, CONTRACT.md §12.7)
1390
1512
 
1391
1513
  `logoutUrl` builds the redirect; `verifyLogoutToken` validates a token the OP **pushed** to
@@ -1640,7 +1762,7 @@ entries are keyed by subject rather than by session.
1640
1762
  Everything above assumes a populated tenant. `login` signs a user in,
1641
1763
  `checkAccess` asks about a resource, `verifyWebhook` checks a delivery signature — and
1642
1764
  none of them can create the user, declare the resource or register the webhook. The
1643
- management surface is the part that can: **147 operations across 24 namespaces**,
1765
+ management surface is the part that can: **158 operations across 24 namespaces**,
1644
1766
  generated from `management-registry.json`, which is the whole server API minus what other
1645
1767
  contract sections own and minus organization creation and deletion (§27.0 keeps those out
1646
1768
  of reach of a client library on purpose).
@@ -1751,7 +1873,7 @@ back.
1751
1873
 
1752
1874
  ### Declarative manifests (§27.6, §27.7)
1753
1875
 
1754
- Calling 147 operations one at a time is rarely what an application wants. What it does at
1876
+ Calling 158 operations one at a time is rarely what an application wants. What it does at
1755
1877
  start-up, in a migration, or in a test fixture is assert a shape:
1756
1878
 
1757
1879
  ```ts
@@ -1789,7 +1911,7 @@ actions that would reconcile the tenant.
1789
1911
  a tenant that also holds hand-made state.
1790
1912
  - **Applying twice converges**: the second plan is all `no-change`. That is what makes
1791
1913
  re-running after a failure safe.
1792
- - **There is no transaction** across 147 independent HTTP endpoints, and `ApplyReport` does
1914
+ - **There is no transaction** across 158 independent HTTP endpoints, and `ApplyReport` does
1793
1915
  not pretend there is. If step 12 of 30 fails, steps 1–11 have happened; the report says
1794
1916
  which, execution stops rather than continuing blindly, and there is no `rollback` —
1795
1917
  because this SDK could not honour one.
@@ -1,6 +1,7 @@
1
1
  import { S as Sensitive } from './sensitive-BC_s7Rrd.cjs';
2
2
  import { A as AccessCheck, a as AccessDecision } from './types-zXSpiQM-.cjs';
3
3
  import { V as Verifier } from './jwks-CSXHo3DS.cjs';
4
+ import { R as RevocationFeed } from './revocationFeed-CDoD7Twr.cjs';
4
5
 
5
6
  /**
6
7
  * Minimal session shape the middleware needs: a JWKS verifier (D-11) and the
@@ -38,6 +39,18 @@ interface VerifiableSession {
38
39
  * `"axiam:user"`. Populated from `AxiamClientOptions.expectedAudience`.
39
40
  */
40
41
  expectedAudience?: string;
42
+ /**
43
+ * CONTRACT.md §10.4 (contract 1.44) — the optional session-revocation feed.
44
+ *
45
+ * Unset by default, and with it unset this guard behaves exactly as it did
46
+ * before 1.44: a revoked session's access token verifies locally until it
47
+ * expires, which is the §10.2 posture this narrows rather than replaces.
48
+ *
49
+ * It is never a control. A feed that cannot be read denies nothing, every
50
+ * §10.1 rule runs first and still decides, and a token with no `sid` is
51
+ * never matched against it.
52
+ */
53
+ revocationFeed?: RevocationFeed;
41
54
  }
42
55
  /** Authenticated identity injected as req.axiamUser / request.axiamUser (§10). */
43
56
  interface AxiamIdentity {
@@ -1,6 +1,7 @@
1
1
  import { S as Sensitive } from './sensitive-BC_s7Rrd.js';
2
2
  import { A as AccessCheck, a as AccessDecision } from './types-BOX-6Srv.js';
3
3
  import { V as Verifier } from './jwks-CSXHo3DS.js';
4
+ import { R as RevocationFeed } from './revocationFeed-CDoD7Twr.js';
4
5
 
5
6
  /**
6
7
  * Minimal session shape the middleware needs: a JWKS verifier (D-11) and the
@@ -38,6 +39,18 @@ interface VerifiableSession {
38
39
  * `"axiam:user"`. Populated from `AxiamClientOptions.expectedAudience`.
39
40
  */
40
41
  expectedAudience?: string;
42
+ /**
43
+ * CONTRACT.md §10.4 (contract 1.44) — the optional session-revocation feed.
44
+ *
45
+ * Unset by default, and with it unset this guard behaves exactly as it did
46
+ * before 1.44: a revoked session's access token verifies locally until it
47
+ * expires, which is the §10.2 posture this narrows rather than replaces.
48
+ *
49
+ * It is never a control. A feed that cannot be read denies nothing, every
50
+ * §10.1 rule runs first and still decides, and a token with no `sid` is
51
+ * never matched against it.
52
+ */
53
+ revocationFeed?: RevocationFeed;
41
54
  }
42
55
  /** Authenticated identity injected as req.axiamUser / request.axiamUser (§10). */
43
56
  interface AxiamIdentity {
@@ -1,7 +1,7 @@
1
- import { A as AxiamClient, W as WebauthnWorkspace, a as WebauthnLoginResult, b as WebauthnCredential } from '../client-DCELYRNc.cjs';
1
+ import { A as AxiamClient, W as WebauthnWorkspace, a as WebauthnLoginResult, b as WebauthnCredential } from '../client-JWANinYZ.cjs';
2
2
  export { W as WebauthnFailure, c as classifyWebauthnError, w as webauthnErrorMessage } from '../webauthnErrors-fLgfOflO.cjs';
3
3
  import '../sensitive-BC_s7Rrd.cjs';
4
- import '../session-BIRL5RKr.cjs';
4
+ import '../session-B0Lkz0X9.cjs';
5
5
  import 'axios';
6
6
  import '../telemetry-DrGqL4kb.cjs';
7
7
  import '../types-zXSpiQM-.cjs';
@@ -1,7 +1,7 @@
1
- import { A as AxiamClient, W as WebauthnWorkspace, a as WebauthnLoginResult, b as WebauthnCredential } from '../client-D4kjfJom.js';
1
+ import { A as AxiamClient, W as WebauthnWorkspace, a as WebauthnLoginResult, b as WebauthnCredential } from '../client-BXXwSvBI.js';
2
2
  export { W as WebauthnFailure, c as classifyWebauthnError, w as webauthnErrorMessage } from '../webauthnErrors-fLgfOflO.js';
3
3
  import '../sensitive-BC_s7Rrd.js';
4
- import '../session-DU6fggqX.js';
4
+ import '../session-fJCGq5jw.js';
5
5
  import 'axios';
6
6
  import '../telemetry-DrGqL4kb.js';
7
7
  import '../types-BOX-6Srv.js';
@@ -1,5 +1,5 @@
1
1
  import { S as Sensitive } from './sensitive-BC_s7Rrd.js';
2
- import { S as SharedSession, A as AxiamClientOptions } from './session-DU6fggqX.js';
2
+ import { S as SharedSession, A as AxiamClientOptions } from './session-fJCGq5jw.js';
3
3
  import { a as AccessDecision, L as LoginResult, A as AccessCheck } from './types-BOX-6Srv.js';
4
4
  import { a as TelemetryDispatcher, O as Outcome } from './telemetry-DrGqL4kb.js';
5
5
 
@@ -747,6 +747,31 @@ interface AuditLogEntry {
747
747
  * assumes.
748
748
  */
749
749
  type AuditOutcome = "Success" | "Failure" | "Denied" | (string & {});
750
+ /**
751
+ * Whether this client's authorization requests may carry OpenID Connect's
752
+ * authentication-request parameters, or whether they are ignored (X7.1).
753
+ *
754
+ * The bundle this governs is `prompt`, `max_age`, `acr_values`, `claims`,
755
+ * `id_token_hint`, `login_hint`, `display`, `ui_locales` and
756
+ * `claims_locales`. It is **one** field rather than nine booleans for the
757
+ * same reason [`ClientProfile`] is one field rather than a dozen: a client
758
+ * that honours `max_age` but ignores `prompt=none` is not "mostly
759
+ * conformant", it is a client a relying party cannot reason about.
760
+ *
761
+ * [`Ignore`](Self::Ignore) is the serde default and is exactly what AXIAM
762
+ * has always done — unknown authorization-request parameters are dropped by
763
+ * the query deserialiser and never reach a decision. Every row written
764
+ * before schema v54 therefore decodes to the behaviour it already had.
765
+ *
766
+ * An **open** enum. The final `(string & {})` arm accepts a value this SDK's
767
+ * copy of the spec does not list, so the next one the server adds reaches a
768
+ * caller as itself rather than failing the response it arrived in (CONTRACT
769
+ * §27.11 rule 1). The named arms still autocomplete and still narrow; what
770
+ * the extra arm removes is the illusion that a value outside them cannot
771
+ * occur, which is what an exhaustive `switch` over the named ones quietly
772
+ * assumes.
773
+ */
774
+ type AuthnRequestParamsMode = "ignore" | "honour" | (string & {});
750
775
  /** Request to bind a certificate to a service account. */
751
776
  interface BindCertificate {
752
777
  /** `certificate_id`. */
@@ -968,7 +993,7 @@ type CertificationLevel = "L1" | "L1Plus" | "L2" | "L2Plus" | "L3" | "L3Plus" |
968
993
  * occur, which is what an exhaustive `switch` over the named ones quietly
969
994
  * assumes.
970
995
  */
971
- type ClientAuthMethod = "client_secret_post" | "tls_client_auth" | "self_signed_tls_client_auth" | "private_key_jwt" | (string & {});
996
+ type ClientAuthMethod = "client_secret_post" | "client_secret_basic" | "tls_client_auth" | "self_signed_tls_client_auth" | "private_key_jwt" | (string & {});
972
997
  /**
973
998
  * Which security posture a client is registered under (X5.1).
974
999
  *
@@ -1021,6 +1046,27 @@ interface ComplianceReportEntry {
1021
1046
  /** `user_id`. */
1022
1047
  user_id: string;
1023
1048
  }
1049
+ /** One consent record, as the subject sees it. */
1050
+ interface ConsentView {
1051
+ /** `accepted_at`. */
1052
+ accepted_at: string;
1053
+ /**
1054
+ * What was consented to, e.g. `terms_of_service` or
1055
+ * `oidc_scope_release:<client_id>`.
1056
+ */
1057
+ consent_type: string;
1058
+ /** The document version or, for a scope release, the consented scopes. */
1059
+ version: string;
1060
+ /**
1061
+ * Whether this record can be withdrawn here.
1062
+ *
1063
+ * `false` for `terms_of_service`: withdrawing it is not a consent operation
1064
+ * but an erasure, and it has its own endpoint with its own grace period.
1065
+ * Reported rather than silently absent so the self-service page can show the
1066
+ * record and explain it.
1067
+ */
1068
+ withdrawable: boolean;
1069
+ }
1024
1070
  /** `CreateCaCertificateRequest` (generated from openapi.json). */
1025
1071
  interface CreateCaCertificateRequest {
1026
1072
  /**
@@ -1222,11 +1268,35 @@ interface CreateNotificationRuleRequest {
1222
1268
  }
1223
1269
  /** `CreateOAuth2ClientRequest` (generated from openapi.json). */
1224
1270
  interface CreateOAuth2ClientRequest {
1271
+ /**
1272
+ * X7.1 — whether this client's authorization requests may carry the OpenID
1273
+ * Connect authentication-request parameters (`prompt`, `max_age`,
1274
+ * `acr_values`, `claims`, `id_token_hint`, `login_hint`, `display`,
1275
+ * `ui_locales`, `claims_locales`).
1276
+ *
1277
+ * `"ignore"` (the default) is what every AXIAM client has always done: they
1278
+ * are dropped and reach no decision. `"honour"` opts in, and is **refused on
1279
+ * a `fapi2` client** at both this gate and the authorization endpoint — the
1280
+ * two are different answers to the same question about what a request from
1281
+ * this client means.
1282
+ */
1283
+ authn_request_params?: AuthnRequestParamsMode;
1225
1284
  /**
1226
1285
  * B5 — where OIDC back-channel logout tokens are delivered. Omit for a
1227
1286
  * client that does not participate.
1228
1287
  */
1229
1288
  backchannel_logout_uri?: string | null;
1289
+ /**
1290
+ * X7.3 — whether an unauthenticated authorization request from this client
1291
+ * may be answered with a redirect to the login page rather than the `401`
1292
+ * AXIAM answers today.
1293
+ *
1294
+ * Accepted and stored, but **nothing reads it yet**: the login hop it gates
1295
+ * is a later wave. Unlike `authn_request_params` it is permitted on a
1296
+ * `fapi2` client, because it relaxes nothing — it decides only how an
1297
+ * anonymous browser is answered.
1298
+ */
1299
+ browser_sso?: boolean;
1230
1300
  /**
1231
1301
  * RFC 9449 §5.2 — issue DPoP-bound (sender-constrained) access tokens to
1232
1302
  * this client. Independent of both the authentication method and
@@ -2029,6 +2099,16 @@ interface GrantPermissionRequest {
2029
2099
  /** `scope_ids`. */
2030
2100
  scope_ids?: string[];
2031
2101
  }
2102
+ /** Body for recording an OIDC scope-release consent. */
2103
+ interface GrantScopeConsent {
2104
+ /** The relying party the claims would be released to. */
2105
+ client_id: string;
2106
+ /**
2107
+ * The sensitive scopes being consented to. Order does not matter; the record
2108
+ * is written in the canonical order so that the same consent has one name.
2109
+ */
2110
+ scopes: string[];
2111
+ }
2032
2112
  /** A scope named by a grant, resolved to something a human can read. */
2033
2113
  interface GrantedScope {
2034
2114
  /** The scope's id, as it appears in the grant's `scope_ids`. */
@@ -2335,6 +2415,14 @@ interface OAuth2ClientCreatedResponseWire {
2335
2415
  declare function oAuth2ClientCreatedResponseFromWire(w: OAuth2ClientCreatedResponseWire): OAuth2ClientCreatedResponse;
2336
2416
  /** OAuth2 client response -- omits client_secret_hash. */
2337
2417
  interface OAuth2ClientResponse {
2418
+ /**
2419
+ * X7.1 — echoed so an operator can audit which clients act on the OIDC
2420
+ * authentication-request parameters, from this endpoint rather than from the
2421
+ * database.
2422
+ */
2423
+ authn_request_params: AuthnRequestParamsMode;
2424
+ /** X7.3 — echoed for the same reason. */
2425
+ browser_sso: boolean;
2338
2426
  /** `client_id`. */
2339
2427
  client_id: string;
2340
2428
  /** `created_at`. */
@@ -2433,6 +2521,59 @@ interface OidcCallbackResponse {
2433
2521
  /** `user_id`. */
2434
2522
  user_id: string;
2435
2523
  }
2524
+ /**
2525
+ * OpenID Connect surface controls (X7 G8, plan §4.6/§4.8).
2526
+ *
2527
+ * Two settings that are not password rules, and are here because this is the
2528
+ * org-baseline-plus-tenant-override surface every other per-tenant control
2529
+ * lives on. They are also the two settings in this model that are *not* of
2530
+ * the same kind as each other, so it is worth saying which is which:
2531
+ *
2532
+ * * [`Self::sensitive_scopes_enabled`] **is** ordered. Releasing personal
2533
+ * data is the less-restrictive direction, so it is validated disable-only —
2534
+ * the mirror image of `mfa_enforced` — and a tenant can turn its
2535
+ * organization's decision off but never on. * [`Self::default_locale`] is
2536
+ * **not** ordered, and no ordering is invented for it. A language is a
2537
+ * presentation preference; there is no sense in which Italian is stricter
2538
+ * than French. [`validate_tenant_override`] therefore does not check it and
2539
+ * [`clamp_overrides_to_org`] never clears it. The model's rule is "a tenant
2540
+ * may only be more restrictive", which binds every field that *has* a
2541
+ * restrictiveness; a field that has none cannot violate it.
2542
+ */
2543
+ interface OidcPolicy {
2544
+ /**
2545
+ * The BCP 47 tag the sign-in page falls back to when the relying party's
2546
+ * `ui_locales` selects nothing (W5's chain, plan §4.6).
2547
+ *
2548
+ * `None` means "no tenant preference", which lands on the deployment default
2549
+ * (`en`) — the behaviour every deployment had before this field existed. A
2550
+ * tag this build does not ship also lands there: the parse is exact rather
2551
+ * than a language lookup, so a stored `fr-CA` reads as "somebody wrote
2552
+ * something this binary does not ship" rather than as a guess at French.
2553
+ *
2554
+ * Stored as a string rather than as the `Locale` enum because that enum
2555
+ * lives in `axiam-oauth2`, four layers above this crate, and the crate
2556
+ * layering points inward.
2557
+ */
2558
+ default_locale?: string | null;
2559
+ /**
2560
+ * Whether `address` and `phone` may be registered on a client, requested at
2561
+ * the authorization endpoint, and released at UserInfo (X7 G8).
2562
+ *
2563
+ * **Off unless an organization turns it on.** The two scopes release a
2564
+ * postal address and a telephone number — categories of personal data AXIAM
2565
+ * has no other use for — so the deployment that has never thought about them
2566
+ * releases nothing, and the operator who has thought about them says so
2567
+ * once, at the organization level, where the lawful basis for holding the
2568
+ * data was decided.
2569
+ *
2570
+ * The switch is a *capability*, not a grant: with it on, a client still has
2571
+ * to register the scope, the request still has to ask for it, and the user
2572
+ * still has to have consented. It is the first of four gates, and it is the
2573
+ * only one an operator can close for everybody at once.
2574
+ */
2575
+ sensitive_scopes_enabled: boolean;
2576
+ }
2436
2577
  /**
2437
2578
  * The client-supplied half of an OPAQUE enrolment, as it appears inside
2438
2579
  * registration / change-password / reset-completion / bootstrap request
@@ -3018,6 +3159,8 @@ interface SecuritySettings {
3018
3159
  mfa: MfaPolicy;
3019
3160
  /** `notification`. */
3020
3161
  notification: NotificationPolicy;
3162
+ /** `oidc`. */
3163
+ oidc: OidcPolicy;
3021
3164
  /** `opaque`. */
3022
3165
  opaque: OpaquePolicy;
3023
3166
  /** `password`. */
@@ -3106,6 +3249,49 @@ interface ServiceAccountResponse {
3106
3249
  /** `updated_at`. */
3107
3250
  updated_at: string;
3108
3251
  }
3252
+ /** One of a user's sessions, as an administrator sees it. */
3253
+ interface SessionResponse {
3254
+ /** RFC 8176 method references for that authentication. */
3255
+ amr: string[];
3256
+ /**
3257
+ * X7.2 — when the end user actually authenticated, which is not `created_at`
3258
+ * on a session produced by refresh rotation.
3259
+ */
3260
+ authenticated_at: string;
3261
+ /** `created_at`. */
3262
+ created_at: string;
3263
+ /** `expires_at`. */
3264
+ expires_at: string;
3265
+ /** `id`. */
3266
+ id: string;
3267
+ /** `ip_address`. */
3268
+ ip_address?: string | null;
3269
+ /**
3270
+ * T-254 — when a refresh token of this session was last presented after it
3271
+ * had already been rotated. `None` if that has never happened.
3272
+ */
3273
+ refresh_replay_at?: string | null;
3274
+ /**
3275
+ * T-254 — replays accepted under the FAPI 2.0 §5.3.2.1-9 grace window. Only
3276
+ * ever non-zero for a client registered `profile: fapi2`.
3277
+ */
3278
+ refresh_replay_grace_accepted: number;
3279
+ /**
3280
+ * T-254 — replays refused because there was no window to accept them in.
3281
+ * Nothing a conformant client does.
3282
+ */
3283
+ refresh_replay_refused: number;
3284
+ /**
3285
+ * T-254 — the badge: `none`, `fapi_grace_retry` or `refused`.
3286
+ *
3287
+ * Derived from the two counters below rather than stored, so it cannot
3288
+ * disagree with them. A refusal outranks an accepted grace retry however the
3289
+ * counts compare.
3290
+ */
3291
+ refresh_replay_verdict: string;
3292
+ /** `user_agent`. */
3293
+ user_agent?: string | null;
3294
+ }
3109
3295
  /** Body for `PUT .../ca-certificates/{id}/mtls-trust-anchor`. */
3110
3296
  interface SetMtlsTrustAnchor {
3111
3297
  /** Whether this CA should be trusted for client-certificate authentication. */
@@ -3132,6 +3318,8 @@ interface SetOrgSettings {
3132
3318
  admin_notifications_enabled: boolean;
3133
3319
  /** `default_cert_validity_days`. */
3134
3320
  default_cert_validity_days: number;
3321
+ /** `default_locale`. */
3322
+ default_locale?: string | null;
3135
3323
  /** `deletion_grace_period_days`. */
3136
3324
  deletion_grace_period_days?: number;
3137
3325
  /** `email_verification_grace_period_hours`. */
@@ -3174,6 +3362,8 @@ interface SetOrgSettings {
3174
3362
  require_symbols: boolean;
3175
3363
  /** `require_uppercase`. */
3176
3364
  require_uppercase: boolean;
3365
+ /** `sensitive_scopes_enabled`. */
3366
+ sensitive_scopes_enabled?: boolean;
3177
3367
  /** `webauthn_user_verification`. */
3178
3368
  webauthn_user_verification?: string;
3179
3369
  }
@@ -3308,6 +3498,11 @@ interface TenantSettingsOverride {
3308
3498
  admin_notifications_enabled?: boolean | null;
3309
3499
  /** `default_cert_validity_days`. */
3310
3500
  default_cert_validity_days?: number | null;
3501
+ /**
3502
+ * The tenant's fallback UI language. Not ordered, therefore not validated
3503
+ * against the baseline and never clamped — see [`OidcPolicy`].
3504
+ */
3505
+ default_locale?: string | null;
3311
3506
  /** `deletion_grace_period_days`. */
3312
3507
  deletion_grace_period_days?: number | null;
3313
3508
  /** `email_verification_grace_period_hours`. */
@@ -3350,6 +3545,8 @@ interface TenantSettingsOverride {
3350
3545
  require_symbols?: boolean | null;
3351
3546
  /** `require_uppercase`. */
3352
3547
  require_uppercase?: boolean | null;
3548
+ /** `sensitive_scopes_enabled`. */
3549
+ sensitive_scopes_enabled?: boolean | null;
3353
3550
  /** `webauthn_user_verification`. */
3354
3551
  webauthn_user_verification?: string | null;
3355
3552
  }
@@ -3582,11 +3779,15 @@ interface UpdateNotificationRuleRequest {
3582
3779
  * than sent as `null` (§27.4 rule 5).
3583
3780
  */
3584
3781
  interface UpdateOAuth2ClientRequest {
3782
+ /** `authn_request_params`. */
3783
+ authn_request_params?: AuthnRequestParamsMode | null;
3585
3784
  /**
3586
3785
  * Pass an empty string to clear a previously registered URI — the one edit
3587
3786
  * an operator makes when an RP is decommissioned.
3588
3787
  */
3589
3788
  backchannel_logout_uri?: string | null;
3789
+ /** X7.3 — see [`CreateOAuth2ClientRequest::browser_sso`]. */
3790
+ browser_sso?: boolean | null;
3590
3791
  /** `dpop_bound_access_tokens`. */
3591
3792
  dpop_bound_access_tokens?: boolean | null;
3592
3793
  /** `dpop_require_nonce`. */
@@ -4527,6 +4728,8 @@ declare class UsersApi {
4527
4728
  unlock(userId: string): Promise<UserResponse>;
4528
4729
  /** `GET /api/v1/users/{user_id}/roles` */
4529
4730
  listRoles(userId: string): Promise<RoleAssignment[]>;
4731
+ /** `GET /api/v1/users/{user_id}/sessions` */
4732
+ listSessions(userId: string): Promise<SessionResponse[]>;
4530
4733
  }
4531
4734
 
4532
4735
  /**
@@ -5889,6 +6092,22 @@ declare class PrivacyApi {
5889
6092
  requestDelete(body: unknown): Promise<void>;
5890
6093
  /** `GET /api/v1/auth/account/delete/cancel` */
5891
6094
  cancelDelete(token: string): Promise<void>;
6095
+ /** `GET /api/v1/account/consents` */
6096
+ listConsents(): Promise<ConsentView[]>;
6097
+ /**
6098
+ * `POST /api/v1/account/consents/oidc-scopes`
6099
+ *
6100
+ * Not retried on failure (§27.4 rule 8): every write on this surface is
6101
+ * issued exactly once, including the ones that look idempotent.
6102
+ */
6103
+ grantScopeConsent(body: GrantScopeConsent): Promise<void>;
6104
+ /**
6105
+ * `DELETE /api/v1/account/consents/oidc-scopes/{client_id}`
6106
+ *
6107
+ * Not retried on failure (§27.4 rule 8): every write on this surface is
6108
+ * issued exactly once, including the ones that look idempotent.
6109
+ */
6110
+ withdrawScopeConsent(clientId: string): Promise<void>;
5892
6111
  }
5893
6112
 
5894
6113
  /**
@@ -6215,4 +6434,4 @@ declare class AxiamClient {
6215
6434
  confirmPasswordReset(confirmation: PasswordResetConfirmation): Promise<void>;
6216
6435
  }
6217
6436
 
6218
- export { type CreateRoleRequest as $, AxiamClient as A, BASE_DELAY_MS as B, type CaCertificate as C, type CertificationLevel as D, type Change as E, type ClientAuthMethod as F, type GrantSpec as G, type ClientProfile as H, type ComplianceReportEntry as I, type CreateCaCertificateRequest as J, type CreateCertificateRequest as K, type CreateFederationConfigRequest as L, type ManagementManifest as M, type CreateFederationConfigRequestWire as N, type CreateGroupRequest as O, type PermissionSpec as P, type CreateIntermediateCaRequest as Q, type ResourceSpec as R, type ScopeSpec as S, type CreateNotificationRuleRequest as T, type UserSpec as U, type CreateOAuth2ClientRequest as V, type WebauthnWorkspace as W, type CreatePermissionRequest as X, type CreatePgpKeyRequest as Y, type CreateReactorRequest as Z, type CreateResourceRequest as _, type WebauthnLoginResult as a, type OidcAuthorizeResponse as a$, type CreateScimTokenRequest as a0, type CreateScimTokenResponse as a1, type CreateScimTokenResponseWire as a2, type CreateScopeRequest as a3, type CreateServiceAccountRequest as a4, type CreateTenantRequest as a5, type CreateUserRequest as a6, type CreateUserRequestWire as a7, type CreateWebhookRequest as a8, type CreateWebhookRequestWire as a9, type KeyAlgorithm as aA, type LockoutPolicy as aB, MAX_ATTEMPTS as aC, MAX_DELAY_MS as aD, MAX_TTL_MS as aE, type ManagementNamespaces as aF, type ManagementPlan as aG, ManifestApi as aH, type ManifestFailure as aI, type MdsRefreshOutcome as aJ, type MdsStatusResponse as aK, type MfaEnrollment as aL, type MfaMethodResponse as aM, type MfaMethodType as aN, type MfaPolicy as aO, type MigrateCustodyResponse as aP, type MtlsTrustAnchorResponse as aQ, type NamespaceScope as aR, type NotificationEventType as aS, type NotificationPolicy as aT, type NotificationRuleResponse as aU, NotificationRulesApi as aV, type OAuth2ClientCreatedResponse as aW, type OAuth2ClientCreatedResponseWire as aX, type OAuth2ClientResponse as aY, Oauth2ClientsApi as aZ, type OidcAuthorizeRequest as a_, DecisionMemo as aa, type EmailConfig as ab, EmailConfigApi as ac, type EmailConfigOverride as ad, type EmailTestResult as ae, type EmailVerificationPolicy as af, type EncryptRequest as ag, type EncryptedExport as ah, type FailurePolicy as ai, FederationApi as aj, type FederationConfigResponse as ak, type FederationLinkResponse as al, type FinishRequest as am, type GeneratedCaCertificate as an, type GeneratedCaCertificateWire as ao, type GeneratedCertificate as ap, type GeneratedCertificateWire as aq, type GeneratedPgpKey as ar, type GeneratedPgpKeyWire as as, type GrantPermissionRequest as at, type GrantedScope as au, type Group as av, GroupsApi as aw, type HealthResponse as ax, type ImportCaCertificateRequest as ay, type ImportCaCertificateRequestWire as az, type WebauthnCredential as b, type SmtpConfig as b$, type OidcCallbackRequest as b0, type OidcCallbackResponse as b1, type OpaqueEnrollment as b2, type OpaqueEnrollmentPayload as b3, type OpaquePolicy as b4, type Organization as b5, OrganizationsApi as b6, type Page as b7, type PageRequest as b8, type PasswordPolicy as b9, type RetryPolicy as bA, type Role as bB, type RoleAssignment as bC, type RoleGroupAssignment as bD, type RoleServiceAccountAssignment as bE, type RoleUserAssignment as bF, RolesApi as bG, type RotateSecretResponse as bH, type RotateSecretResponseWire as bI, type ScimTokenResponse as bJ, type ScimTokenStatus as bK, ScimTokensApi as bL, type Scope as bM, ScopesApi as bN, type SecuritySettings as bO, type ServiceAccountCreatedResponse as bP, type ServiceAccountCreatedResponseWire as bQ, type ServiceAccountResponse as bR, ServiceAccountsApi as bS, type SetMtlsTrustAnchor as bT, type SetOrgEmailConfig as bU, type SetOrgSettings as bV, SettingsApi as bW, type SettingsScope as bX, type SignAuditBatchRequest as bY, type SignIntermediateCsrRequest as bZ, type SignedAuditBatch as b_, type PasswordResetConfirmation as ba, type PasswordResetContext as bb, type PasswordResetRequest as bc, type Permission as bd, type PermissionEffect as be, PermissionsApi as bf, type PgpKey as bg, type PgpKeyAlgorithm as bh, type PgpKeyPurpose as bi, type PgpKeyStatus as bj, PgpKeysApi as bk, type PlannedAction as bl, PlatformApi as bm, type PolicyResponse as bn, PrivacyApi as bo, type PrivacyPolicy as bp, type ProviderConfig as bq, type ReactorEventDescriptor as br, type ReactorMode as bs, type ReactorResponse as bt, ReactorsApi as bu, type ReadyResponse as bv, type ResolvedPermissionGrant as bw, type Resource as bx, ResourcesApi as by, type RetryOptions as bz, type GroupSpec as c, memoKey as c$, type StepOutcome as c0, type Target as c1, TelemetryReporter as c2, type Tenant as c3, type TenantKind as c4, type TenantSettingsOverride as c5, type TenantStatus as c6, TenantsApi as c7, type TokenExchangeTrustRequest as c8, type TokenExchangeTrustResponse as c9, type WebauthnCredentialDescriptorJson as cA, type WebauthnPolicy as cB, WebauthnPolicyApi as cC, type WebauthnRegistrationChallenge as cD, type WebauthnRegistrationResponse as cE, type WebauthnRequestChallenge as cF, type WebauthnRequestOptionsJson as cG, type WebhookResponse as cH, WebhooksApi as cI, backoffMs as cJ, changedCount as cK, changes as cL, collectPages as cM, createFederationConfigRequestToWire as cN, createScimTokenResponseFromWire as cO, createUserRequestToWire as cP, createWebhookRequestToWire as cQ, delayMs as cR, failure as cS, generatedCaCertificateFromWire as cT, generatedCertificateFromWire as cU, generatedPgpKeyFromWire as cV, hasMore as cW, importCaCertificateRequestToWire as cX, isComplete as cY, isConverged as cZ, managementNamespaces as c_, type TokenPolicy as ca, type UnknownAaguidAction as cb, type UpdateFederationConfigRequest as cc, type UpdateFederationConfigRequestWire as cd, type UpdateGroup as ce, type UpdateNotificationRuleRequest as cf, type UpdateOAuth2ClientRequest as cg, type UpdateOrganizationRequest as ch, type UpdatePermissionRequest as ci, type UpdateReactorRequest as cj, type UpdateResourceRequest as ck, type UpdateRole as cl, type UpdateScopeRequest as cm, type UpdateServiceAccount as cn, type UpdateTenant as co, type UpdateUserRequest as cp, type UpdateWebhookRequest as cq, type UpdateWebhookRequestWire as cr, type UserResponse as cs, type UserStatus as ct, UsersApi as cu, type WebauthnAttestationPolicy as cv, type WebauthnAuthenticationChallenge as cw, type WebauthnAuthenticationResponse as cx, type WebauthnCreationChallenge as cy, type WebauthnCreationOptionsJson as cz, type RoleSpec as d, normalizeSearch as d0, oAuth2ClientCreatedResponseFromWire as d1, omitEmptyTenantScope as d2, opaqueEnrollment as d3, opaqueEnrollmentForSelf as d4, pageQuery as d5, rotateSecretResponseFromWire as d6, serviceAccountCreatedResponseFromWire as d7, topologicalOrder as d8, updateFederationConfigRequestToWire as d9, updateWebhookRequestToWire as da, validate as db, webauthnRequestJson as dc, withRetry as dd, type ActorType as e, type AddMemberRequest as f, type AddServiceAccountMemberRequest as g, type ApiProviderConfig as h, type AppliedStep as i, type ApplyReport as j, type AssignRoleToGroupRequest as k, type AssignRoleToServiceAccountRequest as l, type AssignRoleToUserRequest as m, type AttestationMode as n, AuditApi as o, type AuditListFilter as p, type AuditListSystemFilter as q, type AuditLogEntry as r, type AuditOutcome as s, type BindCertificate as t, CaCertificatesApi as u, type Certificate as v, type CertificatePolicy as w, type CertificateStatus as x, type CertificateType as y, CertificatesApi as z };
6437
+ export { type CreateReactorRequest as $, AxiamClient as A, BASE_DELAY_MS as B, type CaCertificate as C, CertificatesApi as D, type CertificationLevel as E, type Change as F, type GrantSpec as G, type ClientAuthMethod as H, type ClientProfile as I, type ComplianceReportEntry as J, type ConsentView as K, type CreateCaCertificateRequest as L, type ManagementManifest as M, type CreateCertificateRequest as N, type CreateFederationConfigRequest as O, type PermissionSpec as P, type CreateFederationConfigRequestWire as Q, type ResourceSpec as R, type ScopeSpec as S, type CreateGroupRequest as T, type UserSpec as U, type CreateIntermediateCaRequest as V, type WebauthnWorkspace as W, type CreateNotificationRuleRequest as X, type CreateOAuth2ClientRequest as Y, type CreatePermissionRequest as Z, type CreatePgpKeyRequest as _, type WebauthnLoginResult as a, type OAuth2ClientResponse as a$, type CreateResourceRequest as a0, type CreateRoleRequest as a1, type CreateScimTokenRequest as a2, type CreateScimTokenResponse as a3, type CreateScimTokenResponseWire as a4, type CreateScopeRequest as a5, type CreateServiceAccountRequest as a6, type CreateTenantRequest as a7, type CreateUserRequest as a8, type CreateUserRequestWire as a9, type HealthResponse as aA, type ImportCaCertificateRequest as aB, type ImportCaCertificateRequestWire as aC, type KeyAlgorithm as aD, type LockoutPolicy as aE, MAX_ATTEMPTS as aF, MAX_DELAY_MS as aG, MAX_TTL_MS as aH, type ManagementNamespaces as aI, type ManagementPlan as aJ, ManifestApi as aK, type ManifestFailure as aL, type MdsRefreshOutcome as aM, type MdsStatusResponse as aN, type MfaEnrollment as aO, type MfaMethodResponse as aP, type MfaMethodType as aQ, type MfaPolicy as aR, type MigrateCustodyResponse as aS, type MtlsTrustAnchorResponse as aT, type NamespaceScope as aU, type NotificationEventType as aV, type NotificationPolicy as aW, type NotificationRuleResponse as aX, NotificationRulesApi as aY, type OAuth2ClientCreatedResponse as aZ, type OAuth2ClientCreatedResponseWire as a_, type CreateWebhookRequest as aa, type CreateWebhookRequestWire as ab, DecisionMemo as ac, type EmailConfig as ad, EmailConfigApi as ae, type EmailConfigOverride as af, type EmailTestResult as ag, type EmailVerificationPolicy as ah, type EncryptRequest as ai, type EncryptedExport as aj, type FailurePolicy as ak, FederationApi as al, type FederationConfigResponse as am, type FederationLinkResponse as an, type FinishRequest as ao, type GeneratedCaCertificate as ap, type GeneratedCaCertificateWire as aq, type GeneratedCertificate as ar, type GeneratedCertificateWire as as, type GeneratedPgpKey as at, type GeneratedPgpKeyWire as au, type GrantPermissionRequest as av, type GrantScopeConsent as aw, type GrantedScope as ax, type Group as ay, GroupsApi as az, type WebauthnCredential as b, SettingsApi as b$, Oauth2ClientsApi as b0, type OidcAuthorizeRequest as b1, type OidcAuthorizeResponse as b2, type OidcCallbackRequest as b3, type OidcCallbackResponse as b4, type OidcPolicy as b5, type OpaqueEnrollment as b6, type OpaqueEnrollmentPayload as b7, type OpaquePolicy as b8, type Organization as b9, type ResolvedPermissionGrant as bA, type Resource as bB, ResourcesApi as bC, type RetryOptions as bD, type RetryPolicy as bE, type Role as bF, type RoleAssignment as bG, type RoleGroupAssignment as bH, type RoleServiceAccountAssignment as bI, type RoleUserAssignment as bJ, RolesApi as bK, type RotateSecretResponse as bL, type RotateSecretResponseWire as bM, type ScimTokenResponse as bN, type ScimTokenStatus as bO, ScimTokensApi as bP, type Scope as bQ, ScopesApi as bR, type SecuritySettings as bS, type ServiceAccountCreatedResponse as bT, type ServiceAccountCreatedResponseWire as bU, type ServiceAccountResponse as bV, ServiceAccountsApi as bW, type SessionResponse as bX, type SetMtlsTrustAnchor as bY, type SetOrgEmailConfig as bZ, type SetOrgSettings as b_, OrganizationsApi as ba, type Page as bb, type PageRequest as bc, type PasswordPolicy as bd, type PasswordResetConfirmation as be, type PasswordResetContext as bf, type PasswordResetRequest as bg, type Permission as bh, type PermissionEffect as bi, PermissionsApi as bj, type PgpKey as bk, type PgpKeyAlgorithm as bl, type PgpKeyPurpose as bm, type PgpKeyStatus as bn, PgpKeysApi as bo, type PlannedAction as bp, PlatformApi as bq, type PolicyResponse as br, PrivacyApi as bs, type PrivacyPolicy as bt, type ProviderConfig as bu, type ReactorEventDescriptor as bv, type ReactorMode as bw, type ReactorResponse as bx, ReactorsApi as by, type ReadyResponse as bz, type GroupSpec as c, hasMore as c$, type SettingsScope as c0, type SignAuditBatchRequest as c1, type SignIntermediateCsrRequest as c2, type SignedAuditBatch as c3, type SmtpConfig as c4, type StepOutcome as c5, type Target as c6, TelemetryReporter as c7, type Tenant as c8, type TenantKind as c9, type WebauthnAttestationPolicy as cA, type WebauthnAuthenticationChallenge as cB, type WebauthnAuthenticationResponse as cC, type WebauthnCreationChallenge as cD, type WebauthnCreationOptionsJson as cE, type WebauthnCredentialDescriptorJson as cF, type WebauthnPolicy as cG, WebauthnPolicyApi as cH, type WebauthnRegistrationChallenge as cI, type WebauthnRegistrationResponse as cJ, type WebauthnRequestChallenge as cK, type WebauthnRequestOptionsJson as cL, type WebhookResponse as cM, WebhooksApi as cN, backoffMs as cO, changedCount as cP, changes as cQ, collectPages as cR, createFederationConfigRequestToWire as cS, createScimTokenResponseFromWire as cT, createUserRequestToWire as cU, createWebhookRequestToWire as cV, delayMs as cW, failure as cX, generatedCaCertificateFromWire as cY, generatedCertificateFromWire as cZ, generatedPgpKeyFromWire as c_, type TenantSettingsOverride as ca, type TenantStatus as cb, TenantsApi as cc, type TokenExchangeTrustRequest as cd, type TokenExchangeTrustResponse as ce, type TokenPolicy as cf, type UnknownAaguidAction as cg, type UpdateFederationConfigRequest as ch, type UpdateFederationConfigRequestWire as ci, type UpdateGroup as cj, type UpdateNotificationRuleRequest as ck, type UpdateOAuth2ClientRequest as cl, type UpdateOrganizationRequest as cm, type UpdatePermissionRequest as cn, type UpdateReactorRequest as co, type UpdateResourceRequest as cp, type UpdateRole as cq, type UpdateScopeRequest as cr, type UpdateServiceAccount as cs, type UpdateTenant as ct, type UpdateUserRequest as cu, type UpdateWebhookRequest as cv, type UpdateWebhookRequestWire as cw, type UserResponse as cx, type UserStatus as cy, UsersApi as cz, type RoleSpec as d, importCaCertificateRequestToWire as d0, isComplete as d1, isConverged as d2, managementNamespaces as d3, memoKey as d4, normalizeSearch as d5, oAuth2ClientCreatedResponseFromWire as d6, omitEmptyTenantScope as d7, opaqueEnrollment as d8, opaqueEnrollmentForSelf as d9, pageQuery as da, rotateSecretResponseFromWire as db, serviceAccountCreatedResponseFromWire as dc, topologicalOrder as dd, updateFederationConfigRequestToWire as de, updateWebhookRequestToWire as df, validate as dg, webauthnRequestJson as dh, withRetry as di, type ActorType as e, type AddMemberRequest as f, type AddServiceAccountMemberRequest as g, type ApiProviderConfig as h, type AppliedStep as i, type ApplyReport as j, type AssignRoleToGroupRequest as k, type AssignRoleToServiceAccountRequest as l, type AssignRoleToUserRequest as m, type AttestationMode as n, AuditApi as o, type AuditListFilter as p, type AuditListSystemFilter as q, type AuditLogEntry as r, type AuditOutcome as s, type AuthnRequestParamsMode as t, type BindCertificate as u, CaCertificatesApi as v, type Certificate as w, type CertificatePolicy as x, type CertificateStatus as y, type CertificateType as z };