axiam-sdk 1.1.2 → 1.2.2
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/README.md +73 -3
- package/dist/amqp/index.js.map +1 -1
- package/dist/amqp/index.mjs.map +1 -1
- package/dist/browser/index.d.cts +1 -1
- package/dist/browser/index.d.ts +1 -1
- package/dist/{client-BGFn1VQh.d.cts → client-Bp7riC4k.d.cts} +147 -3
- package/dist/{client-DrQZZ1js.d.ts → client-CaurIxje.d.ts} +147 -3
- package/dist/{cookieJar-BTmpjXZe.d.ts → cookieJar-DC4GLKrJ.d.ts} +2 -2
- package/dist/{cookieJar-BqYOnNN-.d.cts → cookieJar-oKazfbN1.d.cts} +2 -2
- package/dist/{errors-DZ3k8a8i.d.cts → errors-CWlh-wcm.d.cts} +7 -1
- package/dist/{errors-DZ3k8a8i.d.ts → errors-CWlh-wcm.d.ts} +7 -1
- package/dist/{errors-dlGXAsbh.d.ts → errors-DDo3oxcH.d.ts} +1 -1
- package/dist/{errors-RvGlTyUj.d.cts → errors-DHauOsqx.d.cts} +1 -1
- package/dist/grpc/index.d.cts +4 -4
- package/dist/grpc/index.d.ts +4 -4
- package/dist/grpc/index.js +26 -5
- package/dist/grpc/index.js.map +1 -1
- package/dist/grpc/index.mjs +26 -5
- package/dist/grpc/index.mjs.map +1 -1
- package/dist/index.d.cts +4 -4
- package/dist/index.d.ts +4 -4
- package/dist/index.js +26 -5
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +26 -5
- package/dist/index.mjs.map +1 -1
- package/dist/middleware/index.d.cts +5 -5
- package/dist/middleware/index.d.ts +5 -5
- package/dist/middleware/index.js +164 -12
- package/dist/middleware/index.js.map +1 -1
- package/dist/middleware/index.mjs +164 -12
- package/dist/middleware/index.mjs.map +1 -1
- package/dist/nestjs/index.js.map +1 -1
- package/dist/nestjs/index.mjs.map +1 -1
- package/dist/node/index.d.cts +15 -4
- package/dist/node/index.d.ts +15 -4
- package/dist/node/index.js +186 -14
- package/dist/node/index.js.map +1 -1
- package/dist/node/index.mjs +185 -15
- package/dist/node/index.mjs.map +1 -1
- package/dist/{oidcState-C3VLn3eD.d.ts → oidcState-CZhj0MBP.d.ts} +123 -5
- package/dist/{oidcState-BaJ-SM_R.d.cts → oidcState-EnEJmoF5.d.cts} +123 -5
- package/dist/rest/index.d.cts +6 -6
- package/dist/rest/index.d.ts +6 -6
- package/dist/rest/index.js +26 -5
- package/dist/rest/index.js.map +1 -1
- package/dist/rest/index.mjs +26 -5
- package/dist/rest/index.mjs.map +1 -1
- package/dist/{session-B03NsqVs.d.ts → session-Beo11VT_.d.ts} +9 -0
- package/dist/{session-plDr4lFu.d.cts → session-CeIUXgpE.d.cts} +9 -0
- package/package.json +18 -18
package/dist/browser/index.d.cts
CHANGED
|
@@ -2,7 +2,7 @@ import { AxiamClient, WebauthnWorkspace, WebauthnLoginResult, WebauthnCredential
|
|
|
2
2
|
import { Sensitive } from '../amqp/index.cjs';
|
|
3
3
|
import { LoginResult } from '../index.cjs';
|
|
4
4
|
export { W as WebauthnFailure, c as classifyWebauthnError, w as webauthnErrorMessage } from '../webauthnErrors-m1LZiaRy.cjs';
|
|
5
|
-
import '../session-
|
|
5
|
+
import '../session-CeIUXgpE.cjs';
|
|
6
6
|
import 'axios';
|
|
7
7
|
import '../telemetry-Du0-zS5f.cjs';
|
|
8
8
|
|
package/dist/browser/index.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { AxiamClient, WebauthnWorkspace, WebauthnLoginResult, WebauthnCredential
|
|
|
2
2
|
import { Sensitive } from '../amqp/index.js';
|
|
3
3
|
import { LoginResult } from '../index.js';
|
|
4
4
|
export { W as WebauthnFailure, c as classifyWebauthnError, w as webauthnErrorMessage } from '../webauthnErrors-m1LZiaRy.js';
|
|
5
|
-
import '../session-
|
|
5
|
+
import '../session-Beo11VT_.js';
|
|
6
6
|
import 'axios';
|
|
7
7
|
import '../telemetry-Du0-zS5f.js';
|
|
8
8
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { S as Sensitive } from './sensitive-BC_s7Rrd.cjs';
|
|
2
|
-
import { S as SharedSession, A as AxiamClientOptions, D as DecisionMemo, T as TelemetryReporter } from './session-
|
|
2
|
+
import { S as SharedSession, A as AxiamClientOptions, D as DecisionMemo, T as TelemetryReporter } from './session-CeIUXgpE.cjs';
|
|
3
3
|
import { L as LoginResult, A as AccessCheck, a as AccessDecision } from './types-zXSpiQM-.cjs';
|
|
4
4
|
import { a as TelemetryDispatcher } from './telemetry-Du0-zS5f.cjs';
|
|
5
5
|
|
|
@@ -1531,6 +1531,8 @@ interface CreateFederationConfigRequest {
|
|
|
1531
1531
|
idp_signing_cert_pem?: string | null;
|
|
1532
1532
|
/** OIDC discovery URL or SAML metadata URL. */
|
|
1533
1533
|
metadata_url?: string | null;
|
|
1534
|
+
/** `native_login`. */
|
|
1535
|
+
native_login?: NativeLoginTrustRequest | null;
|
|
1534
1536
|
/** Federation protocol: "OidcConnect" or "Saml". */
|
|
1535
1537
|
protocol: string;
|
|
1536
1538
|
/** Display name for the identity provider (e.g., "Google", "Okta"). */
|
|
@@ -1583,6 +1585,7 @@ interface CreateFederationConfigRequestWire {
|
|
|
1583
1585
|
idp_metadata_signing_cert_pem?: string | null;
|
|
1584
1586
|
idp_signing_cert_pem?: string | null;
|
|
1585
1587
|
metadata_url?: string | null;
|
|
1588
|
+
native_login?: NativeLoginTrustRequest | null;
|
|
1586
1589
|
protocol: string;
|
|
1587
1590
|
provider: string;
|
|
1588
1591
|
provider_kind?: string | null;
|
|
@@ -1764,6 +1767,18 @@ interface CreateOAuth2ClientRequest {
|
|
|
1764
1767
|
* anonymous browser is answered.
|
|
1765
1768
|
*/
|
|
1766
1769
|
browser_sso?: boolean;
|
|
1770
|
+
/**
|
|
1771
|
+
* G-B (#817) — the federation provider (a federation config `id`) this
|
|
1772
|
+
* client's sign-in page starts with when an authorization request carries no
|
|
1773
|
+
* `axiam_idp_hint`; a hint that names a provider overrides it.
|
|
1774
|
+
*
|
|
1775
|
+
* Must name a provider this tenant can sign in with — its own enabled
|
|
1776
|
+
* configs, or the organization's enabled ones it inherits — or the
|
|
1777
|
+
* registration is refused with `400`. If that provider is later disabled or
|
|
1778
|
+
* deleted the default is ignored at the authorization endpoint (the provider
|
|
1779
|
+
* chooser is shown), never an error. Omit for none.
|
|
1780
|
+
*/
|
|
1781
|
+
default_idp?: string | null;
|
|
1767
1782
|
/**
|
|
1768
1783
|
* RFC 9449 §5.2 — issue DPoP-bound (sender-constrained) access tokens to
|
|
1769
1784
|
* this client. Independent of both the authentication method and
|
|
@@ -2413,6 +2428,8 @@ interface FederationConfigResponse {
|
|
|
2413
2428
|
* identifiers set.
|
|
2414
2429
|
*/
|
|
2415
2430
|
mints_client_secret: boolean;
|
|
2431
|
+
/** Native sign-in trust (G-A). */
|
|
2432
|
+
native_login: NativeLoginTrustResponse;
|
|
2416
2433
|
/**
|
|
2417
2434
|
* Whether PKCE is sent on the authorization request. Always true for the
|
|
2418
2435
|
* OAuth2 variant regardless of the stored flag.
|
|
@@ -3133,6 +3150,46 @@ interface MtlsTrustAnchorResponse {
|
|
|
3133
3150
|
* assumes.
|
|
3134
3151
|
*/
|
|
3135
3152
|
type NameIdFormat = "persistent" | "email_address" | (string & {});
|
|
3153
|
+
/**
|
|
3154
|
+
* Native sign-in trust (G-A): which ID tokens this provider issued to an app
|
|
3155
|
+
* are accepted as a sign-in at the token endpoint.
|
|
3156
|
+
*
|
|
3157
|
+
* Mirrors the domain block on the wire, as `TokenExchangeTrustRequest` does,
|
|
3158
|
+
* so an omitted member takes its documented default rather than failing
|
|
3159
|
+
* deserialization. Only an `OidcConnect` provider may enable it.
|
|
3160
|
+
*/
|
|
3161
|
+
interface NativeLoginTrustRequest {
|
|
3162
|
+
/**
|
|
3163
|
+
* The audiences a presented ID token may carry: the iOS bundle ID, Android
|
|
3164
|
+
* client ID or Apple app ID the native SDK was configured with. Required
|
|
3165
|
+
* (non-empty) when `enabled`; at most 64 entries of at most 512 characters,
|
|
3166
|
+
* none blank, none repeated. The web `client_id` is accepted only when it is
|
|
3167
|
+
* listed here.
|
|
3168
|
+
*/
|
|
3169
|
+
client_ids?: string[];
|
|
3170
|
+
/**
|
|
3171
|
+
* Off unless explicitly enabled. Configuring a provider for browser login is
|
|
3172
|
+
* not agreement to accept its ID tokens from apps.
|
|
3173
|
+
*/
|
|
3174
|
+
enabled?: boolean;
|
|
3175
|
+
/**
|
|
3176
|
+
* Bound on `now - iat` for a presented ID token, 1 to 3600 seconds. Omitted:
|
|
3177
|
+
* 300.
|
|
3178
|
+
*/
|
|
3179
|
+
max_token_age_secs?: number | null;
|
|
3180
|
+
}
|
|
3181
|
+
/**
|
|
3182
|
+
* Native sign-in trust as returned to an administrator. Nothing here is
|
|
3183
|
+
* secret; it is never part of the unauthenticated providers listing.
|
|
3184
|
+
*/
|
|
3185
|
+
interface NativeLoginTrustResponse {
|
|
3186
|
+
/** The accepted ID-token audiences. */
|
|
3187
|
+
client_ids: string[];
|
|
3188
|
+
/** Whether ID tokens from apps are accepted as a sign-in. */
|
|
3189
|
+
enabled: boolean;
|
|
3190
|
+
/** Bound on `now - iat`, in seconds. */
|
|
3191
|
+
max_token_age_secs: number;
|
|
3192
|
+
}
|
|
3136
3193
|
/** The tenant's network policy, as the management API returns it. */
|
|
3137
3194
|
interface NetworkPolicyResponse {
|
|
3138
3195
|
/**
|
|
@@ -3404,6 +3461,13 @@ interface OAuth2ClientResponse {
|
|
|
3404
3461
|
client_id: string;
|
|
3405
3462
|
/** `created_at`. */
|
|
3406
3463
|
created_at: string;
|
|
3464
|
+
/**
|
|
3465
|
+
* G-B (#817) — the provider this client's sign-in page starts with when a
|
|
3466
|
+
* request carries no hint; absent for none. Echoed as stored: a value whose
|
|
3467
|
+
* provider has since been disabled is shown, and ignored at the
|
|
3468
|
+
* authorization endpoint.
|
|
3469
|
+
*/
|
|
3470
|
+
default_idp?: string | null;
|
|
3407
3471
|
/** `dpop_bound_access_tokens`. */
|
|
3408
3472
|
dpop_bound_access_tokens: boolean;
|
|
3409
3473
|
/** `dpop_require_nonce`. */
|
|
@@ -3475,6 +3539,25 @@ interface OAuth2ClientResponse {
|
|
|
3475
3539
|
/** `updated_at`. */
|
|
3476
3540
|
updated_at: string;
|
|
3477
3541
|
}
|
|
3542
|
+
/**
|
|
3543
|
+
* OAuth 2.0 authorization-server behaviour that is a tenant's to decide
|
|
3544
|
+
* (G-C, #818).
|
|
3545
|
+
*
|
|
3546
|
+
* A struct of its own rather than a field on `TokenPolicy` because it is not
|
|
3547
|
+
* a lifetime, and so the resolved setting reads by its documented name,
|
|
3548
|
+
* `oauth2.refresh_reuse_response`.
|
|
3549
|
+
*/
|
|
3550
|
+
interface OAuth2Policy {
|
|
3551
|
+
/**
|
|
3552
|
+
* What a refused refresh-token replay does besides refusing. Ordered: a
|
|
3553
|
+
* tenant may move from `refuse` to `revoke_session` and never back while its
|
|
3554
|
+
* organization's baseline is `revoke_session`.
|
|
3555
|
+
*
|
|
3556
|
+
* Published as a reference to the `RefreshReuseResponse` schema, so the two
|
|
3557
|
+
* legal values reach the SDK generators as an `enum` (F4-W1-06, #823).
|
|
3558
|
+
*/
|
|
3559
|
+
refresh_reuse_response?: RefreshReuseResponse;
|
|
3560
|
+
}
|
|
3478
3561
|
/** `OidcAuthorizeRequest` (generated from openapi.json). */
|
|
3479
3562
|
interface OidcAuthorizeRequest {
|
|
3480
3563
|
/** ID of the federation config to use. */
|
|
@@ -4113,6 +4196,43 @@ interface ReadyResponse {
|
|
|
4113
4196
|
/** `status`. */
|
|
4114
4197
|
status: string;
|
|
4115
4198
|
}
|
|
4199
|
+
/**
|
|
4200
|
+
* What the token endpoint does when a refresh token that has already been
|
|
4201
|
+
* rotated is presented again and **refused** (G-C, #818 — the T-254
|
|
4202
|
+
* amendment).
|
|
4203
|
+
*
|
|
4204
|
+
* Two values, ordered by strictness:
|
|
4205
|
+
*
|
|
4206
|
+
* * `revoke_session` — the default (D-N2). The refusal also invalidates the
|
|
4207
|
+
* session the replayed token names (which publishes to the revocation feed)
|
|
4208
|
+
* and revokes every refresh token issued under that session — whichever
|
|
4209
|
+
* client it was issued to, the console sign-in included, with no
|
|
4210
|
+
* back-channel logout sent — as the authorization-code replay path does for
|
|
4211
|
+
* a code (RFC 6749 §10.5; OAuth 2.0 Security BCP §4.14.2). Only a
|
|
4212
|
+
* presentation by the token's own client, passing the token's sender
|
|
4213
|
+
* constraint, triggers it (#821). On a client with no grace window the
|
|
4214
|
+
* honest holder of a replayed token has nothing left to lose — its token is
|
|
4215
|
+
* already dead and it never received the successor — so the revocation costs
|
|
4216
|
+
* it nothing and costs whoever holds the successor everything. * `refuse` —
|
|
4217
|
+
* the 1.1.x behaviour: the presentation is refused, marked on the session
|
|
4218
|
+
* and audited, and nothing else is revoked.
|
|
4219
|
+
*
|
|
4220
|
+
* Neither value changes what is *accepted*. A `fapi2` client's presentation
|
|
4221
|
+
* inside the grace window is accepted and marked whatever this says (D-N4);
|
|
4222
|
+
* a token revoked at logout is not a replay and revokes nothing.
|
|
4223
|
+
*
|
|
4224
|
+
* This text is published as the schema's description in `sdks/openapi.json`,
|
|
4225
|
+
* so it carries no rustdoc intra-doc links (F4-W1-08, #824).
|
|
4226
|
+
*
|
|
4227
|
+
* An **open** enum. The final `(string & {})` arm accepts a value this SDK's
|
|
4228
|
+
* copy of the spec does not list, so the next one the server adds reaches a
|
|
4229
|
+
* caller as itself rather than failing the response it arrived in (CONTRACT
|
|
4230
|
+
* §27.11 rule 1). The named arms still autocomplete and still narrow; what
|
|
4231
|
+
* the extra arm removes is the illusion that a value outside them cannot
|
|
4232
|
+
* occur, which is what an exhaustive `switch` over the named ones quietly
|
|
4233
|
+
* assumes.
|
|
4234
|
+
*/
|
|
4235
|
+
type RefreshReuseResponse = "revoke_session" | "refuse" | (string & {});
|
|
4116
4236
|
/**
|
|
4117
4237
|
* Metadata only. The handle exists in plaintext exactly once, in
|
|
4118
4238
|
* [`CreateRegistrationTokenResponse`].
|
|
@@ -4908,6 +5028,11 @@ interface SecuritySettings {
|
|
|
4908
5028
|
mfa: MfaPolicy;
|
|
4909
5029
|
/** `notification`. */
|
|
4910
5030
|
notification: NotificationPolicy;
|
|
5031
|
+
/**
|
|
5032
|
+
* G-C (#818) — `oauth2.refresh_reuse_response`. Defaulted so a document
|
|
5033
|
+
* written before the field reads as the default.
|
|
5034
|
+
*/
|
|
5035
|
+
oauth2?: OAuth2Policy;
|
|
4911
5036
|
/** `oidc`. */
|
|
4912
5037
|
oidc: OidcPolicy;
|
|
4913
5038
|
/** `opaque`. */
|
|
@@ -5204,6 +5329,14 @@ interface SetOrgSettings {
|
|
|
5204
5329
|
opaque_suite?: string;
|
|
5205
5330
|
/** `password_history_count`. */
|
|
5206
5331
|
password_history_count: number;
|
|
5332
|
+
/**
|
|
5333
|
+
* G-C (#818) — defaulted to `revoke_session` (D-N2): an API client written
|
|
5334
|
+
* before the field lands on the new default. `refuse` restores the 1.1.x
|
|
5335
|
+
* behaviour. Because it is defaulted, a `PUT` from a client written before
|
|
5336
|
+
* 1.2.0 (which omits it) sets an organization on `refuse` back to
|
|
5337
|
+
* `revoke_session` — the stricter direction (F4-W1-06).
|
|
5338
|
+
*/
|
|
5339
|
+
refresh_reuse_response?: RefreshReuseResponse;
|
|
5207
5340
|
/** `refresh_token_lifetime_secs`. */
|
|
5208
5341
|
refresh_token_lifetime_secs: number;
|
|
5209
5342
|
/** `require_digits`. */
|
|
@@ -5699,6 +5832,8 @@ interface TenantSettingsOverride {
|
|
|
5699
5832
|
opaque_suite?: string | null;
|
|
5700
5833
|
/** `password_history_count`. */
|
|
5701
5834
|
password_history_count?: number | null;
|
|
5835
|
+
/** `refresh_reuse_response`. */
|
|
5836
|
+
refresh_reuse_response?: RefreshReuseResponse | null;
|
|
5702
5837
|
/** `refresh_token_lifetime_secs`. */
|
|
5703
5838
|
refresh_token_lifetime_secs?: number | null;
|
|
5704
5839
|
/** `require_digits`. */
|
|
@@ -6004,6 +6139,8 @@ interface UpdateFederationConfigRequest {
|
|
|
6004
6139
|
* clear it.
|
|
6005
6140
|
*/
|
|
6006
6141
|
metadata_url?: string | null;
|
|
6142
|
+
/** `native_login`. */
|
|
6143
|
+
native_login?: NativeLoginTrustRequest | null;
|
|
6007
6144
|
/** `provider`. */
|
|
6008
6145
|
provider?: string | null;
|
|
6009
6146
|
/**
|
|
@@ -6064,6 +6201,7 @@ interface UpdateFederationConfigRequestWire {
|
|
|
6064
6201
|
idp_metadata_signing_cert_pem?: string | null;
|
|
6065
6202
|
idp_signing_cert_pem?: string | null;
|
|
6066
6203
|
metadata_url?: string | null;
|
|
6204
|
+
native_login?: NativeLoginTrustRequest | null;
|
|
6067
6205
|
provider?: string | null;
|
|
6068
6206
|
provider_slug?: string | null;
|
|
6069
6207
|
require_pkce?: boolean | null;
|
|
@@ -6147,6 +6285,12 @@ interface UpdateOAuth2ClientRequest {
|
|
|
6147
6285
|
backchannel_user_code_parameter?: boolean | null;
|
|
6148
6286
|
/** X7.3 — see [`CreateOAuth2ClientRequest::browser_sso`]. */
|
|
6149
6287
|
browser_sso?: boolean | null;
|
|
6288
|
+
/**
|
|
6289
|
+
* G-B (#817) — see [`CreateOAuth2ClientRequest::default_idp`]. Omitted
|
|
6290
|
+
* leaves it; `null` clears it; an id is held to the create rule (`400`
|
|
6291
|
+
* unless it names a provider this tenant can sign in with).
|
|
6292
|
+
*/
|
|
6293
|
+
default_idp?: string | null;
|
|
6150
6294
|
/** `dpop_bound_access_tokens`. */
|
|
6151
6295
|
dpop_bound_access_tokens?: boolean | null;
|
|
6152
6296
|
/** `dpop_require_nonce`. */
|
|
@@ -9908,5 +10052,5 @@ declare class AxiamClient {
|
|
|
9908
10052
|
confirmPasswordReset(confirmation: PasswordResetConfirmation): Promise<void>;
|
|
9909
10053
|
}
|
|
9910
10054
|
|
|
9911
|
-
export { AxiamClient as A, AuditApi as B, BASE_DELAY_MS as J, CaCertificatesApi as N, CertificatesApi as X, DirectoryApi as aA, EmailConfigApi as aF, FederationApi as aM, GroupsApi as a_, KNOWN_SCIM_TARGET_AUTH_TYPES as b3, KNOWN_SCIM_TARGET_SCOPE_TYPES as b4, MAX_ATTEMPTS as b8, MAX_DELAY_MS as b9, NotificationRulesApi as
|
|
9912
|
-
export type { CibaRequestSigningAlg as $, AuditListFilter as C, DirectoryConfig as D, AuditListSystemFilter as E, AuditLogEntry as F, GrantSpec as G, AuditOutcome as H, AuthnRequestParamsMode as I, BindCertificate as K, CaCertificate as L, ManagementManifest as M, Certificate as O, ParseSamlSpMetadata as P, CertificatePolicy as Q, ResourceSpec as R, SamlServiceProvider as S, CertificateStatus as T, UserSpec as U, CertificateType as V, WebauthnWorkspace as W, CertificationLevel as Y, Change as Z, CibaDeliveryMode as _, WebauthnLoginResult as a, HealthResponse as a$, CimdPolicy as a0, ClientAuthMethod as a1, ClientProfile as a2, ClientRegistration as a3, ComplianceReportEntry as a4, ConsentView as a5, CreateCaCertificateRequest as a6, CreateCertificateRequest as a7, CreateFederationConfigRequest as a8, CreateFederationConfigRequestWire as a9, DirectoryKind as aB, DirectoryLinkResult as aC, DirectorySyncStatus as aD, EmailConfig as aE, EmailConfigOverride as aG, EmailTestResult as aH, EmailVerificationPolicy as aI, EncryptRequest as aJ, EncryptedExport as aK, FailurePolicy as aL, FederationConfigResponse as aN, FederationLinkResponse as aO, GeneratedCaCertificate as aP, GeneratedCaCertificateWire as aQ, GeneratedCertificate as aR, GeneratedCertificateWire as aS, GeneratedPgpKey as aT, GeneratedPgpKeyWire as aU, GrantPermissionRequest as aV, GrantScopeConsent as aW, GrantedScope as aX, Group as aY, GroupMapping as aZ, CreateGroupRequest as aa, CreateIntermediateCaRequest as ab, CreateNetworkReplyProfileRequest as ac, CreateNetworkSegmentRequest as ad, CreateNotificationRuleRequest as ae, CreateOAuth2ClientRequest as af, CreatePermissionRequest as ag, CreatePgpKeyRequest as ah, CreateReactorRequest as ai, CreateRegistrationTokenRequest as aj, CreateRegistrationTokenResponse as ak, CreateRegistrationTokenResponseWire as al, CreateResourceRequest as am, CreateRoleRequest as an, CreateScimTokenRequest as ao, CreateScimTokenResponse as ap, CreateScimTokenResponseWire as aq, CreateScopeRequest as ar, CreateServiceAccountRequest as as, CreateTenantRequest as at, CreateUserRequest as au, CreateUserRequestWire as av, CreateWebhookRequest as aw, CreateWebhookRequestWire as ax, DeprovisionPolicy as ay, DeviceToken as az, WebauthnCredential as b,
|
|
10055
|
+
export { AxiamClient as A, AuditApi as B, BASE_DELAY_MS as J, CaCertificatesApi as N, CertificatesApi as X, DirectoryApi as aA, EmailConfigApi as aF, FederationApi as aM, GroupsApi as a_, KNOWN_SCIM_TARGET_AUTH_TYPES as b3, KNOWN_SCIM_TARGET_SCOPE_TYPES as b4, MAX_ATTEMPTS as b8, MAX_DELAY_MS as b9, NotificationRulesApi as bE, Oauth2ClientsApi as bJ, OrganizationsApi as bT, ManifestApi as bd, NetworkApi as br, PermissionsApi as c0, PgpKeysApi as c5, PlatformApi as c7, PrivacyApi as c9, SamlApi as cC, ScimTargetsApi as cP, ScimTokensApi as cS, ScopesApi as cU, ServiceAccountsApi as cZ, ReactorsApi as ch, ResourcesApi as cq, RolesApi as cz, SettingsApi as d3, UsersApi as dQ, WebauthnPolicyApi as dY, SsfApi as da, TenantsApi as dp, WebhooksApi as e2, assertKnownScimTargetAuth as e3, assertKnownScimTargetScope as e4, assertValidSubjectAltName as e5, assertValidSubjectAltNameList as e6, backoffMs as e7, changedCount as e8, changes as e9, roleAssignmentInherits as eA, roleKeyOf as eB, rotateSecretResponseFromWire as eC, scimTargetInputToWire as eD, scrubDirectoryConfig as eE, scrubDirectoryLinkResult as eF, scrubDirectorySyncStatus as eG, scrubSamlIdpCredential as eH, scrubSamlIdpCredentialPromotion as eI, scrubSamlIdpInfo as eJ, scrubSamlServiceProvider as eK, scrubSamlSpMetadataDraft as eL, scrubScimReconcileAccepted as eM, scrubScimTargetResponse as eN, scrubSsfStream as eO, serviceAccountCreatedResponseFromWire as eP, setDirectoryConfigToWire as eQ, ssfStreamInputToWire as eR, topologicalOrder as eS, updateDirectoryConfigToWire as eT, updateFederationConfigRequestToWire as eU, updateWebhookRequestToWire as eV, validate as eW, webauthnRequestJson as eX, withFederationConfigResponseDefaults as eY, withRetry as eZ, clientRegistrationFromJson as ea, collectPages as eb, createFederationConfigRequestToWire as ec, createRegistrationTokenResponseFromWire as ed, createScimTokenResponseFromWire as ee, createUserRequestToWire as ef, createWebhookRequestToWire as eg, delayMs as eh, failure as ei, generatedCaCertificateFromWire as ej, generatedCertificateFromWire as ek, generatedPgpKeyFromWire as el, hasMore as em, importCaCertificateRequestToWire as en, inheritOf as eo, isComplete as ep, isConverged as eq, managementNamespaces as er, normalizeSearch as es, oAuth2ClientCreatedResponseFromWire as et, omitEmptyTenantScope as eu, omitNullMembers as ev, opaqueEnrollment as ew, opaqueEnrollmentForSelf as ex, pageQuery as ey, resourceKeyOf as ez };
|
|
10056
|
+
export type { CibaRequestSigningAlg as $, AuditListFilter as C, DirectoryConfig as D, AuditListSystemFilter as E, AuditLogEntry as F, GrantSpec as G, AuditOutcome as H, AuthnRequestParamsMode as I, BindCertificate as K, CaCertificate as L, ManagementManifest as M, Certificate as O, ParseSamlSpMetadata as P, CertificatePolicy as Q, ResourceSpec as R, SamlServiceProvider as S, CertificateStatus as T, UserSpec as U, CertificateType as V, WebauthnWorkspace as W, CertificationLevel as Y, Change as Z, CibaDeliveryMode as _, WebauthnLoginResult as a, HealthResponse as a$, CimdPolicy as a0, ClientAuthMethod as a1, ClientProfile as a2, ClientRegistration as a3, ComplianceReportEntry as a4, ConsentView as a5, CreateCaCertificateRequest as a6, CreateCertificateRequest as a7, CreateFederationConfigRequest as a8, CreateFederationConfigRequestWire as a9, DirectoryKind as aB, DirectoryLinkResult as aC, DirectorySyncStatus as aD, EmailConfig as aE, EmailConfigOverride as aG, EmailTestResult as aH, EmailVerificationPolicy as aI, EncryptRequest as aJ, EncryptedExport as aK, FailurePolicy as aL, FederationConfigResponse as aN, FederationLinkResponse as aO, GeneratedCaCertificate as aP, GeneratedCaCertificateWire as aQ, GeneratedCertificate as aR, GeneratedCertificateWire as aS, GeneratedPgpKey as aT, GeneratedPgpKeyWire as aU, GrantPermissionRequest as aV, GrantScopeConsent as aW, GrantedScope as aX, Group as aY, GroupMapping as aZ, CreateGroupRequest as aa, CreateIntermediateCaRequest as ab, CreateNetworkReplyProfileRequest as ac, CreateNetworkSegmentRequest as ad, CreateNotificationRuleRequest as ae, CreateOAuth2ClientRequest as af, CreatePermissionRequest as ag, CreatePgpKeyRequest as ah, CreateReactorRequest as ai, CreateRegistrationTokenRequest as aj, CreateRegistrationTokenResponse as ak, CreateRegistrationTokenResponseWire as al, CreateResourceRequest as am, CreateRoleRequest as an, CreateScimTokenRequest as ao, CreateScimTokenResponse as ap, CreateScimTokenResponseWire as aq, CreateScopeRequest as ar, CreateServiceAccountRequest as as, CreateTenantRequest as at, CreateUserRequest as au, CreateUserRequestWire as av, CreateWebhookRequest as aw, CreateWebhookRequestWire as ax, DeprovisionPolicy as ay, DeviceToken as az, WebauthnCredential as b, PermissionEffect as b$, ImportCaCertificateRequest as b0, ImportCaCertificateRequestWire as b1, IssueSamlIdpCredential as b2, KeyAlgorithm as b5, LinkDirectoryAccount as b6, LockoutPolicy as b7, NetworkSpec as bA, NotificationEventType as bB, NotificationPolicy as bC, NotificationRuleResponse as bD, OAuth2ClientCreatedResponse as bF, OAuth2ClientCreatedResponseWire as bG, OAuth2ClientResponse as bH, OAuth2Policy as bI, OidcAuthorizeRequest as bK, OidcAuthorizeResponse as bL, OidcCallbackRequest as bM, OidcCallbackResponse as bN, OidcPolicy as bO, OpaqueEnrollment as bP, OpaqueEnrollmentPayload as bQ, OpaquePolicy as bR, Organization as bS, Page as bU, PageRequest as bV, PasswordPolicy as bW, PasswordResetConfirmation as bX, PasswordResetContext as bY, PasswordResetRequest as bZ, Permission as b_, ManagedBy as ba, ManagementNamespaces as bb, ManagementPlan as bc, ManifestFailure as be, MdsRefreshOutcome as bf, MdsStatusResponse as bg, MfaEnrollment as bh, MfaMethodResponse as bi, MfaMethodType as bj, MfaPolicy as bk, MigrateCustodyResponse as bl, MtlsTrustAnchorResponse as bm, NameIdFormat as bn, NamespaceScope as bo, NativeLoginTrustRequest as bp, NativeLoginTrustResponse as bq, NetworkPolicyResponse as bs, NetworkPolicySpec as bt, NetworkProfileSpec as bu, NetworkReplyProfile as bv, NetworkReplyProfileInput as bw, NetworkSegmentKind as bx, NetworkSegmentResponse as by, NetworkSegmentSpec as bz, SamlServiceProviderInput as c, SetDirectoryConfigWire as c$, PgpKey as c1, PgpKeyAlgorithm as c2, PgpKeyPurpose as c3, PgpKeyStatus as c4, PlannedAction as c6, PolicyResponse as c8, RotateSecretResponse as cA, RotateSecretResponseWire as cB, SamlBinding as cD, SamlIdpCredential as cE, SamlIdpCredentialPromotion as cF, SamlIdpCredentialStatus as cG, SamlIdpInfo as cH, SamlIdpSlot as cI, SamlSpMetadataDraft as cJ, ScimReconcileAccepted as cK, ScimTargetAuth as cL, ScimTargetDeliveryState as cM, ScimTargetInputWire as cN, ScimTargetScope as cO, ScimTokenResponse as cQ, ScimTokenStatus as cR, Scope as cT, SecuritySettings as cV, ServiceAccountCreatedResponse as cW, ServiceAccountCreatedResponseWire as cX, ServiceAccountResponse as cY, SessionResponse as c_, PrivacyPolicy as ca, ProviderConfig as cb, RadiusServiceType as cc, RadiusTerminationAction as cd, ReactorEventDescriptor as ce, ReactorMode as cf, ReactorResponse as cg, ReadyResponse as ci, RefreshReuseResponse as cj, RegistrationTokenResponse as ck, ReplaceNetworkPolicyRequest as cl, ReplaceNetworkReplyProfileRequest as cm, ReplaceNetworkSegmentRequest as cn, ResolvedPermissionGrant as co, Resource as cp, RetryOptions as cr, RetryPolicy as cs, Role as ct, RoleAssignment as cu, RoleBinding as cv, RoleGroupAssignment as cw, RoleServiceAccountAssignment as cx, RoleUserAssignment as cy, ScimTargetResponse as d, WebauthnRequestChallenge as d$, SetMtlsTrustAnchor as d0, SetOrgEmailConfig as d1, SetOrgSettings as d2, SettingsScope as d4, SignAuditBatchRequest as d5, SignCertificateCsrRequest as d6, SignIntermediateCsrRequest as d7, SignedAuditBatch as d8, SmtpConfig as d9, UpdateOAuth2ClientRequest as dA, UpdateOrganizationRequest as dB, UpdatePermissionRequest as dC, UpdateReactorRequest as dD, UpdateResourceRequest as dE, UpdateRole as dF, UpdateScopeRequest as dG, UpdateServiceAccount as dH, UpdateTenant as dI, UpdateUserRequest as dJ, UpdateWebhookRequest as dK, UpdateWebhookRequestWire as dL, UserAttributeMap as dM, UserNameSource as dN, UserResponse as dO, UserStatus as dP, WebauthnAttestationPolicy as dR, WebauthnAuthenticationChallenge as dS, WebauthnAuthenticationResponse as dT, WebauthnCreationChallenge as dU, WebauthnCreationOptionsJson as dV, WebauthnCredentialDescriptorJson as dW, WebauthnPolicy as dX, WebauthnRegistrationChallenge as dZ, WebauthnRegistrationResponse as d_, SsfDeliveryMethod as db, SsfEventType as dc, SsfStatusActor as dd, SsfStreamInputWire as de, SsfStreamStatus as df, SsfSubjectFormat as dg, StepOutcome as dh, SubjectAltName as di, Target as dj, Tenant as dk, TenantKind as dl, TenantSettingsOverride as dm, TenantStatus as dn, TokenExchangeTrustRequest as dq, TokenExchangeTrustResponse as dr, TokenPolicy as ds, UnknownAaguidAction as dt, UpdateDirectoryConfig as du, UpdateDirectoryConfigWire as dv, UpdateFederationConfigRequest as dw, UpdateFederationConfigRequestWire as dx, UpdateGroup as dy, UpdateNotificationRuleRequest as dz, ScimTargetInput as e, WebauthnRequestOptionsJson as e0, WebhookResponse as e1, SetDirectoryConfig as f, SsfStream as g, SsfStreamInput as h, GroupSpec as i, PermissionSpec as j, RoleSpec as k, ScopeSpec as l, ServiceAccountSpec as m, AcsEndpoint as n, ActorType as o, AddMemberRequest as p, AddServiceAccountMemberRequest as q, ApiProviderConfig as r, AppliedStep as s, ApplyReport as t, AssignRoleToGroupRequest as u, AssignRoleToServiceAccountRequest as v, AssignRoleToUserRequest as w, AttestationMode as x, AttributeMapping as y, AttributeSource as z };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { S as Sensitive } from './sensitive-BC_s7Rrd.js';
|
|
2
|
-
import { S as SharedSession, A as AxiamClientOptions, D as DecisionMemo, T as TelemetryReporter } from './session-
|
|
2
|
+
import { S as SharedSession, A as AxiamClientOptions, D as DecisionMemo, T as TelemetryReporter } from './session-Beo11VT_.js';
|
|
3
3
|
import { L as LoginResult, A as AccessCheck, a as AccessDecision } from './types-BOX-6Srv.js';
|
|
4
4
|
import { a as TelemetryDispatcher } from './telemetry-Du0-zS5f.js';
|
|
5
5
|
|
|
@@ -1531,6 +1531,8 @@ interface CreateFederationConfigRequest {
|
|
|
1531
1531
|
idp_signing_cert_pem?: string | null;
|
|
1532
1532
|
/** OIDC discovery URL or SAML metadata URL. */
|
|
1533
1533
|
metadata_url?: string | null;
|
|
1534
|
+
/** `native_login`. */
|
|
1535
|
+
native_login?: NativeLoginTrustRequest | null;
|
|
1534
1536
|
/** Federation protocol: "OidcConnect" or "Saml". */
|
|
1535
1537
|
protocol: string;
|
|
1536
1538
|
/** Display name for the identity provider (e.g., "Google", "Okta"). */
|
|
@@ -1583,6 +1585,7 @@ interface CreateFederationConfigRequestWire {
|
|
|
1583
1585
|
idp_metadata_signing_cert_pem?: string | null;
|
|
1584
1586
|
idp_signing_cert_pem?: string | null;
|
|
1585
1587
|
metadata_url?: string | null;
|
|
1588
|
+
native_login?: NativeLoginTrustRequest | null;
|
|
1586
1589
|
protocol: string;
|
|
1587
1590
|
provider: string;
|
|
1588
1591
|
provider_kind?: string | null;
|
|
@@ -1764,6 +1767,18 @@ interface CreateOAuth2ClientRequest {
|
|
|
1764
1767
|
* anonymous browser is answered.
|
|
1765
1768
|
*/
|
|
1766
1769
|
browser_sso?: boolean;
|
|
1770
|
+
/**
|
|
1771
|
+
* G-B (#817) — the federation provider (a federation config `id`) this
|
|
1772
|
+
* client's sign-in page starts with when an authorization request carries no
|
|
1773
|
+
* `axiam_idp_hint`; a hint that names a provider overrides it.
|
|
1774
|
+
*
|
|
1775
|
+
* Must name a provider this tenant can sign in with — its own enabled
|
|
1776
|
+
* configs, or the organization's enabled ones it inherits — or the
|
|
1777
|
+
* registration is refused with `400`. If that provider is later disabled or
|
|
1778
|
+
* deleted the default is ignored at the authorization endpoint (the provider
|
|
1779
|
+
* chooser is shown), never an error. Omit for none.
|
|
1780
|
+
*/
|
|
1781
|
+
default_idp?: string | null;
|
|
1767
1782
|
/**
|
|
1768
1783
|
* RFC 9449 §5.2 — issue DPoP-bound (sender-constrained) access tokens to
|
|
1769
1784
|
* this client. Independent of both the authentication method and
|
|
@@ -2413,6 +2428,8 @@ interface FederationConfigResponse {
|
|
|
2413
2428
|
* identifiers set.
|
|
2414
2429
|
*/
|
|
2415
2430
|
mints_client_secret: boolean;
|
|
2431
|
+
/** Native sign-in trust (G-A). */
|
|
2432
|
+
native_login: NativeLoginTrustResponse;
|
|
2416
2433
|
/**
|
|
2417
2434
|
* Whether PKCE is sent on the authorization request. Always true for the
|
|
2418
2435
|
* OAuth2 variant regardless of the stored flag.
|
|
@@ -3133,6 +3150,46 @@ interface MtlsTrustAnchorResponse {
|
|
|
3133
3150
|
* assumes.
|
|
3134
3151
|
*/
|
|
3135
3152
|
type NameIdFormat = "persistent" | "email_address" | (string & {});
|
|
3153
|
+
/**
|
|
3154
|
+
* Native sign-in trust (G-A): which ID tokens this provider issued to an app
|
|
3155
|
+
* are accepted as a sign-in at the token endpoint.
|
|
3156
|
+
*
|
|
3157
|
+
* Mirrors the domain block on the wire, as `TokenExchangeTrustRequest` does,
|
|
3158
|
+
* so an omitted member takes its documented default rather than failing
|
|
3159
|
+
* deserialization. Only an `OidcConnect` provider may enable it.
|
|
3160
|
+
*/
|
|
3161
|
+
interface NativeLoginTrustRequest {
|
|
3162
|
+
/**
|
|
3163
|
+
* The audiences a presented ID token may carry: the iOS bundle ID, Android
|
|
3164
|
+
* client ID or Apple app ID the native SDK was configured with. Required
|
|
3165
|
+
* (non-empty) when `enabled`; at most 64 entries of at most 512 characters,
|
|
3166
|
+
* none blank, none repeated. The web `client_id` is accepted only when it is
|
|
3167
|
+
* listed here.
|
|
3168
|
+
*/
|
|
3169
|
+
client_ids?: string[];
|
|
3170
|
+
/**
|
|
3171
|
+
* Off unless explicitly enabled. Configuring a provider for browser login is
|
|
3172
|
+
* not agreement to accept its ID tokens from apps.
|
|
3173
|
+
*/
|
|
3174
|
+
enabled?: boolean;
|
|
3175
|
+
/**
|
|
3176
|
+
* Bound on `now - iat` for a presented ID token, 1 to 3600 seconds. Omitted:
|
|
3177
|
+
* 300.
|
|
3178
|
+
*/
|
|
3179
|
+
max_token_age_secs?: number | null;
|
|
3180
|
+
}
|
|
3181
|
+
/**
|
|
3182
|
+
* Native sign-in trust as returned to an administrator. Nothing here is
|
|
3183
|
+
* secret; it is never part of the unauthenticated providers listing.
|
|
3184
|
+
*/
|
|
3185
|
+
interface NativeLoginTrustResponse {
|
|
3186
|
+
/** The accepted ID-token audiences. */
|
|
3187
|
+
client_ids: string[];
|
|
3188
|
+
/** Whether ID tokens from apps are accepted as a sign-in. */
|
|
3189
|
+
enabled: boolean;
|
|
3190
|
+
/** Bound on `now - iat`, in seconds. */
|
|
3191
|
+
max_token_age_secs: number;
|
|
3192
|
+
}
|
|
3136
3193
|
/** The tenant's network policy, as the management API returns it. */
|
|
3137
3194
|
interface NetworkPolicyResponse {
|
|
3138
3195
|
/**
|
|
@@ -3404,6 +3461,13 @@ interface OAuth2ClientResponse {
|
|
|
3404
3461
|
client_id: string;
|
|
3405
3462
|
/** `created_at`. */
|
|
3406
3463
|
created_at: string;
|
|
3464
|
+
/**
|
|
3465
|
+
* G-B (#817) — the provider this client's sign-in page starts with when a
|
|
3466
|
+
* request carries no hint; absent for none. Echoed as stored: a value whose
|
|
3467
|
+
* provider has since been disabled is shown, and ignored at the
|
|
3468
|
+
* authorization endpoint.
|
|
3469
|
+
*/
|
|
3470
|
+
default_idp?: string | null;
|
|
3407
3471
|
/** `dpop_bound_access_tokens`. */
|
|
3408
3472
|
dpop_bound_access_tokens: boolean;
|
|
3409
3473
|
/** `dpop_require_nonce`. */
|
|
@@ -3475,6 +3539,25 @@ interface OAuth2ClientResponse {
|
|
|
3475
3539
|
/** `updated_at`. */
|
|
3476
3540
|
updated_at: string;
|
|
3477
3541
|
}
|
|
3542
|
+
/**
|
|
3543
|
+
* OAuth 2.0 authorization-server behaviour that is a tenant's to decide
|
|
3544
|
+
* (G-C, #818).
|
|
3545
|
+
*
|
|
3546
|
+
* A struct of its own rather than a field on `TokenPolicy` because it is not
|
|
3547
|
+
* a lifetime, and so the resolved setting reads by its documented name,
|
|
3548
|
+
* `oauth2.refresh_reuse_response`.
|
|
3549
|
+
*/
|
|
3550
|
+
interface OAuth2Policy {
|
|
3551
|
+
/**
|
|
3552
|
+
* What a refused refresh-token replay does besides refusing. Ordered: a
|
|
3553
|
+
* tenant may move from `refuse` to `revoke_session` and never back while its
|
|
3554
|
+
* organization's baseline is `revoke_session`.
|
|
3555
|
+
*
|
|
3556
|
+
* Published as a reference to the `RefreshReuseResponse` schema, so the two
|
|
3557
|
+
* legal values reach the SDK generators as an `enum` (F4-W1-06, #823).
|
|
3558
|
+
*/
|
|
3559
|
+
refresh_reuse_response?: RefreshReuseResponse;
|
|
3560
|
+
}
|
|
3478
3561
|
/** `OidcAuthorizeRequest` (generated from openapi.json). */
|
|
3479
3562
|
interface OidcAuthorizeRequest {
|
|
3480
3563
|
/** ID of the federation config to use. */
|
|
@@ -4113,6 +4196,43 @@ interface ReadyResponse {
|
|
|
4113
4196
|
/** `status`. */
|
|
4114
4197
|
status: string;
|
|
4115
4198
|
}
|
|
4199
|
+
/**
|
|
4200
|
+
* What the token endpoint does when a refresh token that has already been
|
|
4201
|
+
* rotated is presented again and **refused** (G-C, #818 — the T-254
|
|
4202
|
+
* amendment).
|
|
4203
|
+
*
|
|
4204
|
+
* Two values, ordered by strictness:
|
|
4205
|
+
*
|
|
4206
|
+
* * `revoke_session` — the default (D-N2). The refusal also invalidates the
|
|
4207
|
+
* session the replayed token names (which publishes to the revocation feed)
|
|
4208
|
+
* and revokes every refresh token issued under that session — whichever
|
|
4209
|
+
* client it was issued to, the console sign-in included, with no
|
|
4210
|
+
* back-channel logout sent — as the authorization-code replay path does for
|
|
4211
|
+
* a code (RFC 6749 §10.5; OAuth 2.0 Security BCP §4.14.2). Only a
|
|
4212
|
+
* presentation by the token's own client, passing the token's sender
|
|
4213
|
+
* constraint, triggers it (#821). On a client with no grace window the
|
|
4214
|
+
* honest holder of a replayed token has nothing left to lose — its token is
|
|
4215
|
+
* already dead and it never received the successor — so the revocation costs
|
|
4216
|
+
* it nothing and costs whoever holds the successor everything. * `refuse` —
|
|
4217
|
+
* the 1.1.x behaviour: the presentation is refused, marked on the session
|
|
4218
|
+
* and audited, and nothing else is revoked.
|
|
4219
|
+
*
|
|
4220
|
+
* Neither value changes what is *accepted*. A `fapi2` client's presentation
|
|
4221
|
+
* inside the grace window is accepted and marked whatever this says (D-N4);
|
|
4222
|
+
* a token revoked at logout is not a replay and revokes nothing.
|
|
4223
|
+
*
|
|
4224
|
+
* This text is published as the schema's description in `sdks/openapi.json`,
|
|
4225
|
+
* so it carries no rustdoc intra-doc links (F4-W1-08, #824).
|
|
4226
|
+
*
|
|
4227
|
+
* An **open** enum. The final `(string & {})` arm accepts a value this SDK's
|
|
4228
|
+
* copy of the spec does not list, so the next one the server adds reaches a
|
|
4229
|
+
* caller as itself rather than failing the response it arrived in (CONTRACT
|
|
4230
|
+
* §27.11 rule 1). The named arms still autocomplete and still narrow; what
|
|
4231
|
+
* the extra arm removes is the illusion that a value outside them cannot
|
|
4232
|
+
* occur, which is what an exhaustive `switch` over the named ones quietly
|
|
4233
|
+
* assumes.
|
|
4234
|
+
*/
|
|
4235
|
+
type RefreshReuseResponse = "revoke_session" | "refuse" | (string & {});
|
|
4116
4236
|
/**
|
|
4117
4237
|
* Metadata only. The handle exists in plaintext exactly once, in
|
|
4118
4238
|
* [`CreateRegistrationTokenResponse`].
|
|
@@ -4908,6 +5028,11 @@ interface SecuritySettings {
|
|
|
4908
5028
|
mfa: MfaPolicy;
|
|
4909
5029
|
/** `notification`. */
|
|
4910
5030
|
notification: NotificationPolicy;
|
|
5031
|
+
/**
|
|
5032
|
+
* G-C (#818) — `oauth2.refresh_reuse_response`. Defaulted so a document
|
|
5033
|
+
* written before the field reads as the default.
|
|
5034
|
+
*/
|
|
5035
|
+
oauth2?: OAuth2Policy;
|
|
4911
5036
|
/** `oidc`. */
|
|
4912
5037
|
oidc: OidcPolicy;
|
|
4913
5038
|
/** `opaque`. */
|
|
@@ -5204,6 +5329,14 @@ interface SetOrgSettings {
|
|
|
5204
5329
|
opaque_suite?: string;
|
|
5205
5330
|
/** `password_history_count`. */
|
|
5206
5331
|
password_history_count: number;
|
|
5332
|
+
/**
|
|
5333
|
+
* G-C (#818) — defaulted to `revoke_session` (D-N2): an API client written
|
|
5334
|
+
* before the field lands on the new default. `refuse` restores the 1.1.x
|
|
5335
|
+
* behaviour. Because it is defaulted, a `PUT` from a client written before
|
|
5336
|
+
* 1.2.0 (which omits it) sets an organization on `refuse` back to
|
|
5337
|
+
* `revoke_session` — the stricter direction (F4-W1-06).
|
|
5338
|
+
*/
|
|
5339
|
+
refresh_reuse_response?: RefreshReuseResponse;
|
|
5207
5340
|
/** `refresh_token_lifetime_secs`. */
|
|
5208
5341
|
refresh_token_lifetime_secs: number;
|
|
5209
5342
|
/** `require_digits`. */
|
|
@@ -5699,6 +5832,8 @@ interface TenantSettingsOverride {
|
|
|
5699
5832
|
opaque_suite?: string | null;
|
|
5700
5833
|
/** `password_history_count`. */
|
|
5701
5834
|
password_history_count?: number | null;
|
|
5835
|
+
/** `refresh_reuse_response`. */
|
|
5836
|
+
refresh_reuse_response?: RefreshReuseResponse | null;
|
|
5702
5837
|
/** `refresh_token_lifetime_secs`. */
|
|
5703
5838
|
refresh_token_lifetime_secs?: number | null;
|
|
5704
5839
|
/** `require_digits`. */
|
|
@@ -6004,6 +6139,8 @@ interface UpdateFederationConfigRequest {
|
|
|
6004
6139
|
* clear it.
|
|
6005
6140
|
*/
|
|
6006
6141
|
metadata_url?: string | null;
|
|
6142
|
+
/** `native_login`. */
|
|
6143
|
+
native_login?: NativeLoginTrustRequest | null;
|
|
6007
6144
|
/** `provider`. */
|
|
6008
6145
|
provider?: string | null;
|
|
6009
6146
|
/**
|
|
@@ -6064,6 +6201,7 @@ interface UpdateFederationConfigRequestWire {
|
|
|
6064
6201
|
idp_metadata_signing_cert_pem?: string | null;
|
|
6065
6202
|
idp_signing_cert_pem?: string | null;
|
|
6066
6203
|
metadata_url?: string | null;
|
|
6204
|
+
native_login?: NativeLoginTrustRequest | null;
|
|
6067
6205
|
provider?: string | null;
|
|
6068
6206
|
provider_slug?: string | null;
|
|
6069
6207
|
require_pkce?: boolean | null;
|
|
@@ -6147,6 +6285,12 @@ interface UpdateOAuth2ClientRequest {
|
|
|
6147
6285
|
backchannel_user_code_parameter?: boolean | null;
|
|
6148
6286
|
/** X7.3 — see [`CreateOAuth2ClientRequest::browser_sso`]. */
|
|
6149
6287
|
browser_sso?: boolean | null;
|
|
6288
|
+
/**
|
|
6289
|
+
* G-B (#817) — see [`CreateOAuth2ClientRequest::default_idp`]. Omitted
|
|
6290
|
+
* leaves it; `null` clears it; an id is held to the create rule (`400`
|
|
6291
|
+
* unless it names a provider this tenant can sign in with).
|
|
6292
|
+
*/
|
|
6293
|
+
default_idp?: string | null;
|
|
6150
6294
|
/** `dpop_bound_access_tokens`. */
|
|
6151
6295
|
dpop_bound_access_tokens?: boolean | null;
|
|
6152
6296
|
/** `dpop_require_nonce`. */
|
|
@@ -9908,5 +10052,5 @@ declare class AxiamClient {
|
|
|
9908
10052
|
confirmPasswordReset(confirmation: PasswordResetConfirmation): Promise<void>;
|
|
9909
10053
|
}
|
|
9910
10054
|
|
|
9911
|
-
export { AxiamClient as A, AuditApi as B, BASE_DELAY_MS as J, CaCertificatesApi as N, CertificatesApi as X, DirectoryApi as aA, EmailConfigApi as aF, FederationApi as aM, GroupsApi as a_, KNOWN_SCIM_TARGET_AUTH_TYPES as b3, KNOWN_SCIM_TARGET_SCOPE_TYPES as b4, MAX_ATTEMPTS as b8, MAX_DELAY_MS as b9, NotificationRulesApi as
|
|
9912
|
-
export type { CibaRequestSigningAlg as $, AuditListFilter as C, DirectoryConfig as D, AuditListSystemFilter as E, AuditLogEntry as F, GrantSpec as G, AuditOutcome as H, AuthnRequestParamsMode as I, BindCertificate as K, CaCertificate as L, ManagementManifest as M, Certificate as O, ParseSamlSpMetadata as P, CertificatePolicy as Q, ResourceSpec as R, SamlServiceProvider as S, CertificateStatus as T, UserSpec as U, CertificateType as V, WebauthnWorkspace as W, CertificationLevel as Y, Change as Z, CibaDeliveryMode as _, WebauthnLoginResult as a, HealthResponse as a$, CimdPolicy as a0, ClientAuthMethod as a1, ClientProfile as a2, ClientRegistration as a3, ComplianceReportEntry as a4, ConsentView as a5, CreateCaCertificateRequest as a6, CreateCertificateRequest as a7, CreateFederationConfigRequest as a8, CreateFederationConfigRequestWire as a9, DirectoryKind as aB, DirectoryLinkResult as aC, DirectorySyncStatus as aD, EmailConfig as aE, EmailConfigOverride as aG, EmailTestResult as aH, EmailVerificationPolicy as aI, EncryptRequest as aJ, EncryptedExport as aK, FailurePolicy as aL, FederationConfigResponse as aN, FederationLinkResponse as aO, GeneratedCaCertificate as aP, GeneratedCaCertificateWire as aQ, GeneratedCertificate as aR, GeneratedCertificateWire as aS, GeneratedPgpKey as aT, GeneratedPgpKeyWire as aU, GrantPermissionRequest as aV, GrantScopeConsent as aW, GrantedScope as aX, Group as aY, GroupMapping as aZ, CreateGroupRequest as aa, CreateIntermediateCaRequest as ab, CreateNetworkReplyProfileRequest as ac, CreateNetworkSegmentRequest as ad, CreateNotificationRuleRequest as ae, CreateOAuth2ClientRequest as af, CreatePermissionRequest as ag, CreatePgpKeyRequest as ah, CreateReactorRequest as ai, CreateRegistrationTokenRequest as aj, CreateRegistrationTokenResponse as ak, CreateRegistrationTokenResponseWire as al, CreateResourceRequest as am, CreateRoleRequest as an, CreateScimTokenRequest as ao, CreateScimTokenResponse as ap, CreateScimTokenResponseWire as aq, CreateScopeRequest as ar, CreateServiceAccountRequest as as, CreateTenantRequest as at, CreateUserRequest as au, CreateUserRequestWire as av, CreateWebhookRequest as aw, CreateWebhookRequestWire as ax, DeprovisionPolicy as ay, DeviceToken as az, WebauthnCredential as b,
|
|
10055
|
+
export { AxiamClient as A, AuditApi as B, BASE_DELAY_MS as J, CaCertificatesApi as N, CertificatesApi as X, DirectoryApi as aA, EmailConfigApi as aF, FederationApi as aM, GroupsApi as a_, KNOWN_SCIM_TARGET_AUTH_TYPES as b3, KNOWN_SCIM_TARGET_SCOPE_TYPES as b4, MAX_ATTEMPTS as b8, MAX_DELAY_MS as b9, NotificationRulesApi as bE, Oauth2ClientsApi as bJ, OrganizationsApi as bT, ManifestApi as bd, NetworkApi as br, PermissionsApi as c0, PgpKeysApi as c5, PlatformApi as c7, PrivacyApi as c9, SamlApi as cC, ScimTargetsApi as cP, ScimTokensApi as cS, ScopesApi as cU, ServiceAccountsApi as cZ, ReactorsApi as ch, ResourcesApi as cq, RolesApi as cz, SettingsApi as d3, UsersApi as dQ, WebauthnPolicyApi as dY, SsfApi as da, TenantsApi as dp, WebhooksApi as e2, assertKnownScimTargetAuth as e3, assertKnownScimTargetScope as e4, assertValidSubjectAltName as e5, assertValidSubjectAltNameList as e6, backoffMs as e7, changedCount as e8, changes as e9, roleAssignmentInherits as eA, roleKeyOf as eB, rotateSecretResponseFromWire as eC, scimTargetInputToWire as eD, scrubDirectoryConfig as eE, scrubDirectoryLinkResult as eF, scrubDirectorySyncStatus as eG, scrubSamlIdpCredential as eH, scrubSamlIdpCredentialPromotion as eI, scrubSamlIdpInfo as eJ, scrubSamlServiceProvider as eK, scrubSamlSpMetadataDraft as eL, scrubScimReconcileAccepted as eM, scrubScimTargetResponse as eN, scrubSsfStream as eO, serviceAccountCreatedResponseFromWire as eP, setDirectoryConfigToWire as eQ, ssfStreamInputToWire as eR, topologicalOrder as eS, updateDirectoryConfigToWire as eT, updateFederationConfigRequestToWire as eU, updateWebhookRequestToWire as eV, validate as eW, webauthnRequestJson as eX, withFederationConfigResponseDefaults as eY, withRetry as eZ, clientRegistrationFromJson as ea, collectPages as eb, createFederationConfigRequestToWire as ec, createRegistrationTokenResponseFromWire as ed, createScimTokenResponseFromWire as ee, createUserRequestToWire as ef, createWebhookRequestToWire as eg, delayMs as eh, failure as ei, generatedCaCertificateFromWire as ej, generatedCertificateFromWire as ek, generatedPgpKeyFromWire as el, hasMore as em, importCaCertificateRequestToWire as en, inheritOf as eo, isComplete as ep, isConverged as eq, managementNamespaces as er, normalizeSearch as es, oAuth2ClientCreatedResponseFromWire as et, omitEmptyTenantScope as eu, omitNullMembers as ev, opaqueEnrollment as ew, opaqueEnrollmentForSelf as ex, pageQuery as ey, resourceKeyOf as ez };
|
|
10056
|
+
export type { CibaRequestSigningAlg as $, AuditListFilter as C, DirectoryConfig as D, AuditListSystemFilter as E, AuditLogEntry as F, GrantSpec as G, AuditOutcome as H, AuthnRequestParamsMode as I, BindCertificate as K, CaCertificate as L, ManagementManifest as M, Certificate as O, ParseSamlSpMetadata as P, CertificatePolicy as Q, ResourceSpec as R, SamlServiceProvider as S, CertificateStatus as T, UserSpec as U, CertificateType as V, WebauthnWorkspace as W, CertificationLevel as Y, Change as Z, CibaDeliveryMode as _, WebauthnLoginResult as a, HealthResponse as a$, CimdPolicy as a0, ClientAuthMethod as a1, ClientProfile as a2, ClientRegistration as a3, ComplianceReportEntry as a4, ConsentView as a5, CreateCaCertificateRequest as a6, CreateCertificateRequest as a7, CreateFederationConfigRequest as a8, CreateFederationConfigRequestWire as a9, DirectoryKind as aB, DirectoryLinkResult as aC, DirectorySyncStatus as aD, EmailConfig as aE, EmailConfigOverride as aG, EmailTestResult as aH, EmailVerificationPolicy as aI, EncryptRequest as aJ, EncryptedExport as aK, FailurePolicy as aL, FederationConfigResponse as aN, FederationLinkResponse as aO, GeneratedCaCertificate as aP, GeneratedCaCertificateWire as aQ, GeneratedCertificate as aR, GeneratedCertificateWire as aS, GeneratedPgpKey as aT, GeneratedPgpKeyWire as aU, GrantPermissionRequest as aV, GrantScopeConsent as aW, GrantedScope as aX, Group as aY, GroupMapping as aZ, CreateGroupRequest as aa, CreateIntermediateCaRequest as ab, CreateNetworkReplyProfileRequest as ac, CreateNetworkSegmentRequest as ad, CreateNotificationRuleRequest as ae, CreateOAuth2ClientRequest as af, CreatePermissionRequest as ag, CreatePgpKeyRequest as ah, CreateReactorRequest as ai, CreateRegistrationTokenRequest as aj, CreateRegistrationTokenResponse as ak, CreateRegistrationTokenResponseWire as al, CreateResourceRequest as am, CreateRoleRequest as an, CreateScimTokenRequest as ao, CreateScimTokenResponse as ap, CreateScimTokenResponseWire as aq, CreateScopeRequest as ar, CreateServiceAccountRequest as as, CreateTenantRequest as at, CreateUserRequest as au, CreateUserRequestWire as av, CreateWebhookRequest as aw, CreateWebhookRequestWire as ax, DeprovisionPolicy as ay, DeviceToken as az, WebauthnCredential as b, PermissionEffect as b$, ImportCaCertificateRequest as b0, ImportCaCertificateRequestWire as b1, IssueSamlIdpCredential as b2, KeyAlgorithm as b5, LinkDirectoryAccount as b6, LockoutPolicy as b7, NetworkSpec as bA, NotificationEventType as bB, NotificationPolicy as bC, NotificationRuleResponse as bD, OAuth2ClientCreatedResponse as bF, OAuth2ClientCreatedResponseWire as bG, OAuth2ClientResponse as bH, OAuth2Policy as bI, OidcAuthorizeRequest as bK, OidcAuthorizeResponse as bL, OidcCallbackRequest as bM, OidcCallbackResponse as bN, OidcPolicy as bO, OpaqueEnrollment as bP, OpaqueEnrollmentPayload as bQ, OpaquePolicy as bR, Organization as bS, Page as bU, PageRequest as bV, PasswordPolicy as bW, PasswordResetConfirmation as bX, PasswordResetContext as bY, PasswordResetRequest as bZ, Permission as b_, ManagedBy as ba, ManagementNamespaces as bb, ManagementPlan as bc, ManifestFailure as be, MdsRefreshOutcome as bf, MdsStatusResponse as bg, MfaEnrollment as bh, MfaMethodResponse as bi, MfaMethodType as bj, MfaPolicy as bk, MigrateCustodyResponse as bl, MtlsTrustAnchorResponse as bm, NameIdFormat as bn, NamespaceScope as bo, NativeLoginTrustRequest as bp, NativeLoginTrustResponse as bq, NetworkPolicyResponse as bs, NetworkPolicySpec as bt, NetworkProfileSpec as bu, NetworkReplyProfile as bv, NetworkReplyProfileInput as bw, NetworkSegmentKind as bx, NetworkSegmentResponse as by, NetworkSegmentSpec as bz, SamlServiceProviderInput as c, SetDirectoryConfigWire as c$, PgpKey as c1, PgpKeyAlgorithm as c2, PgpKeyPurpose as c3, PgpKeyStatus as c4, PlannedAction as c6, PolicyResponse as c8, RotateSecretResponse as cA, RotateSecretResponseWire as cB, SamlBinding as cD, SamlIdpCredential as cE, SamlIdpCredentialPromotion as cF, SamlIdpCredentialStatus as cG, SamlIdpInfo as cH, SamlIdpSlot as cI, SamlSpMetadataDraft as cJ, ScimReconcileAccepted as cK, ScimTargetAuth as cL, ScimTargetDeliveryState as cM, ScimTargetInputWire as cN, ScimTargetScope as cO, ScimTokenResponse as cQ, ScimTokenStatus as cR, Scope as cT, SecuritySettings as cV, ServiceAccountCreatedResponse as cW, ServiceAccountCreatedResponseWire as cX, ServiceAccountResponse as cY, SessionResponse as c_, PrivacyPolicy as ca, ProviderConfig as cb, RadiusServiceType as cc, RadiusTerminationAction as cd, ReactorEventDescriptor as ce, ReactorMode as cf, ReactorResponse as cg, ReadyResponse as ci, RefreshReuseResponse as cj, RegistrationTokenResponse as ck, ReplaceNetworkPolicyRequest as cl, ReplaceNetworkReplyProfileRequest as cm, ReplaceNetworkSegmentRequest as cn, ResolvedPermissionGrant as co, Resource as cp, RetryOptions as cr, RetryPolicy as cs, Role as ct, RoleAssignment as cu, RoleBinding as cv, RoleGroupAssignment as cw, RoleServiceAccountAssignment as cx, RoleUserAssignment as cy, ScimTargetResponse as d, WebauthnRequestChallenge as d$, SetMtlsTrustAnchor as d0, SetOrgEmailConfig as d1, SetOrgSettings as d2, SettingsScope as d4, SignAuditBatchRequest as d5, SignCertificateCsrRequest as d6, SignIntermediateCsrRequest as d7, SignedAuditBatch as d8, SmtpConfig as d9, UpdateOAuth2ClientRequest as dA, UpdateOrganizationRequest as dB, UpdatePermissionRequest as dC, UpdateReactorRequest as dD, UpdateResourceRequest as dE, UpdateRole as dF, UpdateScopeRequest as dG, UpdateServiceAccount as dH, UpdateTenant as dI, UpdateUserRequest as dJ, UpdateWebhookRequest as dK, UpdateWebhookRequestWire as dL, UserAttributeMap as dM, UserNameSource as dN, UserResponse as dO, UserStatus as dP, WebauthnAttestationPolicy as dR, WebauthnAuthenticationChallenge as dS, WebauthnAuthenticationResponse as dT, WebauthnCreationChallenge as dU, WebauthnCreationOptionsJson as dV, WebauthnCredentialDescriptorJson as dW, WebauthnPolicy as dX, WebauthnRegistrationChallenge as dZ, WebauthnRegistrationResponse as d_, SsfDeliveryMethod as db, SsfEventType as dc, SsfStatusActor as dd, SsfStreamInputWire as de, SsfStreamStatus as df, SsfSubjectFormat as dg, StepOutcome as dh, SubjectAltName as di, Target as dj, Tenant as dk, TenantKind as dl, TenantSettingsOverride as dm, TenantStatus as dn, TokenExchangeTrustRequest as dq, TokenExchangeTrustResponse as dr, TokenPolicy as ds, UnknownAaguidAction as dt, UpdateDirectoryConfig as du, UpdateDirectoryConfigWire as dv, UpdateFederationConfigRequest as dw, UpdateFederationConfigRequestWire as dx, UpdateGroup as dy, UpdateNotificationRuleRequest as dz, ScimTargetInput as e, WebauthnRequestOptionsJson as e0, WebhookResponse as e1, SetDirectoryConfig as f, SsfStream as g, SsfStreamInput as h, GroupSpec as i, PermissionSpec as j, RoleSpec as k, ScopeSpec as l, ServiceAccountSpec as m, AcsEndpoint as n, ActorType as o, AddMemberRequest as p, AddServiceAccountMemberRequest as q, ApiProviderConfig as r, AppliedStep as s, ApplyReport as t, AssignRoleToGroupRequest as u, AssignRoleToServiceAccountRequest as v, AssignRoleToUserRequest as w, AttestationMode as x, AttributeMapping as y, AttributeSource as z };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { AxiosRequestConfig, AxiosInstance } from 'axios';
|
|
2
2
|
import { CookieJar } from 'tough-cookie';
|
|
3
|
-
import { S as SharedSession, A as AxiamClientOptions, N as NodeTlsOptions } from './session-
|
|
4
|
-
import { A as AxiamClient } from './client-
|
|
3
|
+
import { S as SharedSession, A as AxiamClientOptions, N as NodeTlsOptions } from './session-Beo11VT_.js';
|
|
4
|
+
import { A as AxiamClient } from './client-CaurIxje.js';
|
|
5
5
|
import { S as Sensitive } from './sensitive-BC_s7Rrd.js';
|
|
6
6
|
import { V as Verifier } from './jwks-CTVpOWzI.js';
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { AxiosRequestConfig, AxiosInstance } from 'axios';
|
|
2
2
|
import { CookieJar } from 'tough-cookie';
|
|
3
|
-
import { S as SharedSession, A as AxiamClientOptions, N as NodeTlsOptions } from './session-
|
|
4
|
-
import { A as AxiamClient } from './client-
|
|
3
|
+
import { S as SharedSession, A as AxiamClientOptions, N as NodeTlsOptions } from './session-CeIUXgpE.cjs';
|
|
4
|
+
import { A as AxiamClient } from './client-Bp7riC4k.cjs';
|
|
5
5
|
import { S as Sensitive } from './sensitive-BC_s7Rrd.cjs';
|
|
6
6
|
import { V as Verifier } from './jwks-CTVpOWzI.cjs';
|
|
7
7
|
|