axiam-sdk 1.0.0-beta04 → 1.0.0-beta06
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{authzCore-Ct8ZzJL4.d.cts → authzCore-CrrzL1vM.d.cts} +1 -1
- package/dist/{authzCore-CiMC6Eru.d.ts → authzCore-IhJd8o4F.d.ts} +1 -1
- package/dist/browser/index.d.cts +3 -3
- package/dist/browser/index.d.ts +3 -3
- package/dist/{client-8OMNECCl.d.cts → client-Djmfy2Wz.d.cts} +199 -6
- package/dist/{client-DTr9zaC0.d.ts → client-RqlANL2T.d.ts} +199 -6
- package/dist/{cookieJar-BU4bgCBi.d.cts → cookieJar-BWoZxJLO.d.cts} +2 -2
- package/dist/{cookieJar-BX9-9VSw.d.ts → cookieJar-V4kHLAnX.d.ts} +2 -2
- package/dist/grpc/index.d.cts +5 -5
- package/dist/grpc/index.d.ts +5 -5
- package/dist/grpc/index.js +201 -29
- package/dist/grpc/index.js.map +1 -1
- package/dist/grpc/index.mjs +201 -29
- package/dist/grpc/index.mjs.map +1 -1
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +203 -29
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +202 -30
- package/dist/index.mjs.map +1 -1
- package/dist/middleware/index.d.cts +6 -6
- package/dist/middleware/index.d.ts +6 -6
- package/dist/nestjs/index.d.cts +2 -2
- package/dist/nestjs/index.d.ts +2 -2
- package/dist/node/index.d.cts +5 -5
- package/dist/node/index.d.ts +5 -5
- package/dist/node/index.js +201 -29
- package/dist/node/index.js.map +1 -1
- package/dist/node/index.mjs +201 -29
- package/dist/node/index.mjs.map +1 -1
- package/dist/{oidcState-C4YtEKPT.d.cts → oidcState-DKX3dJ8i.d.cts} +1 -1
- package/dist/{oidcState-BMcyBUz-.d.ts → oidcState-irUgXhRo.d.ts} +1 -1
- package/dist/rest/index.d.cts +4 -4
- package/dist/rest/index.d.ts +4 -4
- package/dist/rest/index.js +203 -29
- package/dist/rest/index.js.map +1 -1
- package/dist/rest/index.mjs +202 -30
- package/dist/rest/index.mjs.map +1 -1
- package/dist/{session-CMgYRxLP.d.cts → session-BIRL5RKr.d.cts} +11 -0
- package/dist/{session-BJHqprWm.d.ts → session-DU6fggqX.d.ts} +11 -0
- package/dist/{types-DHnCMjtY.d.ts → types-BOX-6Srv.d.ts} +46 -1
- package/dist/{types-CpbckLcy.d.cts → types-zXSpiQM-.d.cts} +46 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { S as Sensitive } from './sensitive-BC_s7Rrd.cjs';
|
|
2
|
-
import { A as AccessCheck, a as AccessDecision } from './types-
|
|
2
|
+
import { A as AccessCheck, a as AccessDecision } from './types-zXSpiQM-.cjs';
|
|
3
3
|
import { V as Verifier } from './jwks-CSXHo3DS.cjs';
|
|
4
4
|
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { S as Sensitive } from './sensitive-BC_s7Rrd.js';
|
|
2
|
-
import { A as AccessCheck, a as AccessDecision } from './types-
|
|
2
|
+
import { A as AccessCheck, a as AccessDecision } from './types-BOX-6Srv.js';
|
|
3
3
|
import { V as Verifier } from './jwks-CSXHo3DS.js';
|
|
4
4
|
|
|
5
5
|
/**
|
package/dist/browser/index.d.cts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { A as AxiamClient, W as WebauthnWorkspace, a as WebauthnLoginResult, b as WebauthnCredential } from '../client-
|
|
1
|
+
import { A as AxiamClient, W as WebauthnWorkspace, a as WebauthnLoginResult, b as WebauthnCredential } from '../client-Djmfy2Wz.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-
|
|
4
|
+
import '../session-BIRL5RKr.cjs';
|
|
5
5
|
import 'axios';
|
|
6
6
|
import '../telemetry-DrGqL4kb.cjs';
|
|
7
|
-
import '../types-
|
|
7
|
+
import '../types-zXSpiQM-.cjs';
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
10
|
* Whether this runtime can perform a WebAuthn ceremony at all.
|
package/dist/browser/index.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { A as AxiamClient, W as WebauthnWorkspace, a as WebauthnLoginResult, b as WebauthnCredential } from '../client-
|
|
1
|
+
import { A as AxiamClient, W as WebauthnWorkspace, a as WebauthnLoginResult, b as WebauthnCredential } from '../client-RqlANL2T.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-
|
|
4
|
+
import '../session-DU6fggqX.js';
|
|
5
5
|
import 'axios';
|
|
6
6
|
import '../telemetry-DrGqL4kb.js';
|
|
7
|
-
import '../types-
|
|
7
|
+
import '../types-BOX-6Srv.js';
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
10
|
* Whether this runtime can perform a WebAuthn ceremony at all.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { S as Sensitive } from './sensitive-BC_s7Rrd.cjs';
|
|
2
|
-
import { S as SharedSession, A as AxiamClientOptions } from './session-
|
|
3
|
-
import { a as AccessDecision, L as LoginResult, A as AccessCheck } from './types-
|
|
2
|
+
import { S as SharedSession, A as AxiamClientOptions } from './session-BIRL5RKr.cjs';
|
|
3
|
+
import { a as AccessDecision, L as LoginResult, A as AccessCheck } from './types-zXSpiQM-.cjs';
|
|
4
4
|
import { a as TelemetryDispatcher, O as Outcome } from './telemetry-DrGqL4kb.cjs';
|
|
5
5
|
|
|
6
6
|
/**
|
|
@@ -198,8 +198,15 @@ interface OpaqueEnrollment {
|
|
|
198
198
|
registration_record: string;
|
|
199
199
|
}
|
|
200
200
|
/**
|
|
201
|
-
* Build a registration record for `password`,
|
|
202
|
-
*
|
|
201
|
+
* Build a registration record for `password`, sealed against the tenant this
|
|
202
|
+
* client is **acting on**.
|
|
203
|
+
*
|
|
204
|
+
* That is the right tenant when the record is for an account being created in
|
|
205
|
+
* it — §27 `users.create`, and the reset-completion flow, which names its own
|
|
206
|
+
* tenant. It is the **wrong** tenant for the caller's own password change
|
|
207
|
+
* once an organization-level principal has selected another one to act on:
|
|
208
|
+
* the account's credentials live where the account does. Use
|
|
209
|
+
* {@link opaqueEnrollmentForSelf} there — CONTRACT.md §5.2.2 rule 2.
|
|
203
210
|
*
|
|
204
211
|
* This performs a `register/start` round trip, which the SRP verifier it
|
|
205
212
|
* replaces did not need: OPAQUE's envelope is sealed under the server's
|
|
@@ -213,6 +220,26 @@ interface OpaqueEnrollment {
|
|
|
213
220
|
* cannot invalidate it.
|
|
214
221
|
*/
|
|
215
222
|
declare function opaqueEnrollment(client: AxiamClient, password: string): Promise<OpaqueEnrollment>;
|
|
223
|
+
/**
|
|
224
|
+
* Build a registration record for the **caller's own** new password, sealed
|
|
225
|
+
* against the tenant the caller's account lives in.
|
|
226
|
+
*
|
|
227
|
+
* CONTRACT.md §5.2.2 rule 2. `POST /auth/password/change` and the record that
|
|
228
|
+
* accompanies it are about the account, not about whatever tenant the client
|
|
229
|
+
* is currently pointed at, and a record sealed against the acting tenant is
|
|
230
|
+
* refused with *"the OPAQUE session was issued for a different tenant"*.
|
|
231
|
+
*
|
|
232
|
+
* The distinction only bites for an organization-level principal that has
|
|
233
|
+
* selected another tenant to act on; for everyone else the two tenants are the
|
|
234
|
+
* same value and this behaves identically to {@link opaqueEnrollment}. It is
|
|
235
|
+
* still the function to call for a self-service password change, because which
|
|
236
|
+
* principal is signed in is not something the call site usually knows.
|
|
237
|
+
*
|
|
238
|
+
* @throws NetworkError when no login has completed on this client yet — the
|
|
239
|
+
* principal tenant is reported by the login response, so there is nothing to
|
|
240
|
+
* seal against before then.
|
|
241
|
+
*/
|
|
242
|
+
declare function opaqueEnrollmentForSelf(client: AxiamClient, password: string): Promise<OpaqueEnrollment>;
|
|
216
243
|
|
|
217
244
|
/** A reference to one credential, in the WebAuthn JSON form. */
|
|
218
245
|
interface WebauthnCredentialDescriptorJson {
|
|
@@ -551,6 +578,24 @@ interface PasswordResetConfirmation {
|
|
|
551
578
|
* secret an ordinary string.
|
|
552
579
|
*/
|
|
553
580
|
|
|
581
|
+
/**
|
|
582
|
+
* Drops a `tenant_scope` that names no tenants.
|
|
583
|
+
*
|
|
584
|
+
* CONTRACT.md §5.2.3 rule 1: the server refuses `tenant_scope: []` with
|
|
585
|
+
* `400`. An assignment reaching no tenant contributes nothing anywhere, so it
|
|
586
|
+
* is a grant that does not exist rather than a restriction, and the server
|
|
587
|
+
* declines to guess which was meant.
|
|
588
|
+
*
|
|
589
|
+
* `JSON.stringify` already drops `undefined`, so the absent case needs no
|
|
590
|
+
* help. `[]` is the one that does: the natural way to build the field is to
|
|
591
|
+
* collect into an array and pass it, which yields `[]` for "no tenants named"
|
|
592
|
+
* and would put the refused shape on the wire. Both spellings of absent
|
|
593
|
+
* therefore travel the same way — by not appearing.
|
|
594
|
+
*
|
|
595
|
+
* Returns the body unchanged when there is nothing to drop, so the common
|
|
596
|
+
* path allocates nothing.
|
|
597
|
+
*/
|
|
598
|
+
declare function omitEmptyTenantScope<T>(body: T): T;
|
|
554
599
|
/**
|
|
555
600
|
* `ActorType` (generated from openapi.json).
|
|
556
601
|
*
|
|
@@ -568,6 +613,11 @@ interface AddMemberRequest {
|
|
|
568
613
|
/** `user_id`. */
|
|
569
614
|
user_id: string;
|
|
570
615
|
}
|
|
616
|
+
/** `AddServiceAccountMemberRequest` (generated from openapi.json). */
|
|
617
|
+
interface AddServiceAccountMemberRequest {
|
|
618
|
+
/** `service_account_id`. */
|
|
619
|
+
service_account_id: string;
|
|
620
|
+
}
|
|
571
621
|
/**
|
|
572
622
|
* API-based provider configuration (SendGrid, Postmark, Resend, Brevo).
|
|
573
623
|
*
|
|
@@ -588,11 +638,60 @@ interface AssignRoleToGroupRequest {
|
|
|
588
638
|
group_id: string;
|
|
589
639
|
/** `resource_id`. */
|
|
590
640
|
resource_id?: string | null;
|
|
641
|
+
/**
|
|
642
|
+
* The tenants this assignment reaches.
|
|
643
|
+
*
|
|
644
|
+
* Only meaningful for an assignment made in an organization's scope, whose
|
|
645
|
+
* global roles otherwise reach every tenant of the organization; naming
|
|
646
|
+
* tenants here confines the assignment to those and to nothing else, the
|
|
647
|
+
* organization's own scope included. Omitted — the default — reaches
|
|
648
|
+
* wherever the role does.
|
|
649
|
+
*
|
|
650
|
+
* Refused with 400 outside an organization scope, when empty, and when it
|
|
651
|
+
* names a tenant of another organization or the organization's own scope
|
|
652
|
+
* tenant.
|
|
653
|
+
*/
|
|
654
|
+
tenant_scope?: string[] | null;
|
|
655
|
+
}
|
|
656
|
+
/** `AssignRoleToServiceAccountRequest` (generated from openapi.json). */
|
|
657
|
+
interface AssignRoleToServiceAccountRequest {
|
|
658
|
+
/** `resource_id`. */
|
|
659
|
+
resource_id?: string | null;
|
|
660
|
+
/** `service_account_id`. */
|
|
661
|
+
service_account_id: string;
|
|
662
|
+
/**
|
|
663
|
+
* The tenants this assignment reaches.
|
|
664
|
+
*
|
|
665
|
+
* Only meaningful for an assignment made in an organization's scope, whose
|
|
666
|
+
* global roles otherwise reach every tenant of the organization; naming
|
|
667
|
+
* tenants here confines the assignment to those and to nothing else, the
|
|
668
|
+
* organization's own scope included. Omitted — the default — reaches
|
|
669
|
+
* wherever the role does.
|
|
670
|
+
*
|
|
671
|
+
* Refused with 400 outside an organization scope, when empty, and when it
|
|
672
|
+
* names a tenant of another organization or the organization's own scope
|
|
673
|
+
* tenant.
|
|
674
|
+
*/
|
|
675
|
+
tenant_scope?: string[] | null;
|
|
591
676
|
}
|
|
592
677
|
/** `AssignRoleToUserRequest` (generated from openapi.json). */
|
|
593
678
|
interface AssignRoleToUserRequest {
|
|
594
679
|
/** `resource_id`. */
|
|
595
680
|
resource_id?: string | null;
|
|
681
|
+
/**
|
|
682
|
+
* The tenants this assignment reaches.
|
|
683
|
+
*
|
|
684
|
+
* Only meaningful for an assignment made in an organization's scope, whose
|
|
685
|
+
* global roles otherwise reach every tenant of the organization; naming
|
|
686
|
+
* tenants here confines the assignment to those and to nothing else, the
|
|
687
|
+
* organization's own scope included. Omitted — the default — reaches
|
|
688
|
+
* wherever the role does.
|
|
689
|
+
*
|
|
690
|
+
* Refused with 400 outside an organization scope, when empty, and when it
|
|
691
|
+
* names a tenant of another organization or the organization's own scope
|
|
692
|
+
* tenant.
|
|
693
|
+
*/
|
|
694
|
+
tenant_scope?: string[] | null;
|
|
596
695
|
/** `user_id`. */
|
|
597
696
|
user_id: string;
|
|
598
697
|
}
|
|
@@ -2659,6 +2758,8 @@ interface RoleAssignment {
|
|
|
2659
2758
|
resource_id?: string | null;
|
|
2660
2759
|
/** `role`. */
|
|
2661
2760
|
role: Role;
|
|
2761
|
+
/** The tenants this assignment reaches. See [`TenantScope`]. */
|
|
2762
|
+
tenant_scope?: string[] | null;
|
|
2662
2763
|
}
|
|
2663
2764
|
/** A group together with the resource scope of its assignment of this role. */
|
|
2664
2765
|
interface RoleGroupAssignment {
|
|
@@ -2666,11 +2767,39 @@ interface RoleGroupAssignment {
|
|
|
2666
2767
|
group: Group;
|
|
2667
2768
|
/** `None` means the role was assigned globally (no resource scope). */
|
|
2668
2769
|
resource_id?: string | null;
|
|
2770
|
+
/**
|
|
2771
|
+
* The tenants this assignment reaches, or omitted for "wherever the role
|
|
2772
|
+
* does". Shown next to the assignment so an operator can tell a deliberately
|
|
2773
|
+
* narrowed grant from an organization-wide one.
|
|
2774
|
+
*/
|
|
2775
|
+
tenant_scope?: string[] | null;
|
|
2776
|
+
}
|
|
2777
|
+
/** A service account together with the resource scope of its assignment. */
|
|
2778
|
+
interface RoleServiceAccountAssignment {
|
|
2779
|
+
/** `None` means the role was assigned globally (no resource scope). */
|
|
2780
|
+
resource_id?: string | null;
|
|
2781
|
+
/**
|
|
2782
|
+
* The assigned service account. Carries no secret — the client secret is
|
|
2783
|
+
* returned once, at creation, and never again.
|
|
2784
|
+
*/
|
|
2785
|
+
service_account: ServiceAccountResponse;
|
|
2786
|
+
/**
|
|
2787
|
+
* The tenants this assignment reaches, or omitted for "wherever the role
|
|
2788
|
+
* does". Shown next to the assignment so an operator can tell a deliberately
|
|
2789
|
+
* narrowed grant from an organization-wide one.
|
|
2790
|
+
*/
|
|
2791
|
+
tenant_scope?: string[] | null;
|
|
2669
2792
|
}
|
|
2670
2793
|
/** A user together with the resource scope of their assignment of this role. */
|
|
2671
2794
|
interface RoleUserAssignment {
|
|
2672
2795
|
/** `None` means the role was assigned globally (no resource scope). */
|
|
2673
2796
|
resource_id?: string | null;
|
|
2797
|
+
/**
|
|
2798
|
+
* The tenants this assignment reaches, or omitted for "wherever the role
|
|
2799
|
+
* does". Shown next to the assignment so an operator can tell a deliberately
|
|
2800
|
+
* narrowed grant from an organization-wide one.
|
|
2801
|
+
*/
|
|
2802
|
+
tenant_scope?: string[] | null;
|
|
2674
2803
|
/** The assigned user. */
|
|
2675
2804
|
user: UserResponse;
|
|
2676
2805
|
}
|
|
@@ -4292,6 +4421,31 @@ declare class GroupsApi {
|
|
|
4292
4421
|
removeMember(groupId: string, userId: string): Promise<void>;
|
|
4293
4422
|
/** `GET /api/v1/groups/{group_id}/roles` */
|
|
4294
4423
|
listRoles(groupId: string): Promise<RoleAssignment[]>;
|
|
4424
|
+
/** `GET /api/v1/groups/{group_id}/service-accounts` */
|
|
4425
|
+
listServiceAccounts(groupId: string, page?: PageRequest): Promise<Page<ServiceAccountResponse>>;
|
|
4426
|
+
/**
|
|
4427
|
+
* Walk `groups.list_service_accounts` to exhaustion, concatenating every
|
|
4428
|
+
* page.
|
|
4429
|
+
*
|
|
4430
|
+
* The auto-paging form §27.4 rule 4 requires. It stops on an empty page even
|
|
4431
|
+
* if `total` disagrees, so a misreporting server costs one wasted request
|
|
4432
|
+
* rather than an unbounded loop.
|
|
4433
|
+
*/
|
|
4434
|
+
listServiceAccountsAll(groupId: string, start?: PageRequest): Promise<ServiceAccountResponse[]>;
|
|
4435
|
+
/**
|
|
4436
|
+
* `POST /api/v1/groups/{group_id}/service-accounts`
|
|
4437
|
+
*
|
|
4438
|
+
* Not retried on failure (§27.4 rule 8): every write on this surface is
|
|
4439
|
+
* issued exactly once, including the ones that look idempotent.
|
|
4440
|
+
*/
|
|
4441
|
+
addServiceAccount(groupId: string, body: AddServiceAccountMemberRequest): Promise<void>;
|
|
4442
|
+
/**
|
|
4443
|
+
* `DELETE /api/v1/groups/{group_id}/service-accounts/{service_account_id}`
|
|
4444
|
+
*
|
|
4445
|
+
* Not retried on failure (§27.4 rule 8): every write on this surface is
|
|
4446
|
+
* issued exactly once, including the ones that look idempotent.
|
|
4447
|
+
*/
|
|
4448
|
+
removeServiceAccount(groupId: string, serviceAccountId: string): Promise<void>;
|
|
4295
4449
|
}
|
|
4296
4450
|
|
|
4297
4451
|
/**
|
|
@@ -4393,6 +4547,22 @@ declare class RolesApi {
|
|
|
4393
4547
|
* issued exactly once, including the ones that look idempotent.
|
|
4394
4548
|
*/
|
|
4395
4549
|
revokePermission(roleId: string, permissionId: string): Promise<void>;
|
|
4550
|
+
/** `GET /api/v1/roles/{role_id}/service-accounts` */
|
|
4551
|
+
listServiceAccounts(roleId: string): Promise<RoleServiceAccountAssignment[]>;
|
|
4552
|
+
/**
|
|
4553
|
+
* `POST /api/v1/roles/{role_id}/service-accounts`
|
|
4554
|
+
*
|
|
4555
|
+
* Not retried on failure (§27.4 rule 8): every write on this surface is
|
|
4556
|
+
* issued exactly once, including the ones that look idempotent.
|
|
4557
|
+
*/
|
|
4558
|
+
assignToServiceAccount(roleId: string, body: AssignRoleToServiceAccountRequest): Promise<void>;
|
|
4559
|
+
/**
|
|
4560
|
+
* `DELETE /api/v1/roles/{role_id}/service-accounts/{service_account_id}`
|
|
4561
|
+
*
|
|
4562
|
+
* Not retried on failure (§27.4 rule 8): every write on this surface is
|
|
4563
|
+
* issued exactly once, including the ones that look idempotent.
|
|
4564
|
+
*/
|
|
4565
|
+
unassignFromServiceAccount(roleId: string, serviceAccountId: string, resourceId?: string): Promise<void>;
|
|
4396
4566
|
}
|
|
4397
4567
|
|
|
4398
4568
|
/**
|
|
@@ -4627,6 +4797,10 @@ declare class ServiceAccountsApi {
|
|
|
4627
4797
|
* issued exactly once, including the ones that look idempotent.
|
|
4628
4798
|
*/
|
|
4629
4799
|
bindCertificate(saId: string, body: BindCertificate): Promise<void>;
|
|
4800
|
+
/** `GET /api/v1/service-accounts/{service_account_id}/roles` */
|
|
4801
|
+
listRoles(serviceAccountId: string): Promise<RoleAssignment[]>;
|
|
4802
|
+
/** `GET /api/v1/service-accounts/{service_account_id}/groups` */
|
|
4803
|
+
listGroups(serviceAccountId: string): Promise<Group[]>;
|
|
4630
4804
|
}
|
|
4631
4805
|
|
|
4632
4806
|
/**
|
|
@@ -5766,7 +5940,12 @@ declare class AxiamClient {
|
|
|
5766
5940
|
loginOpaque(usernameOrEmail: string, password: string): Promise<LoginResult>;
|
|
5767
5941
|
/**
|
|
5768
5942
|
* Build an OPAQUE registration record to send with any request that sets a
|
|
5769
|
-
* password (§23)
|
|
5943
|
+
* password (§23), sealed against the tenant this client is **acting on**.
|
|
5944
|
+
* The server cannot build one — it never sees the plaintext.
|
|
5945
|
+
*
|
|
5946
|
+
* Right for creating **another** account (§27 `users.create`); for the
|
|
5947
|
+
* caller's *own* password change use {@link opaqueEnrollmentForSelf}, which
|
|
5948
|
+
* seals against the tenant the account lives in (§5.2.2 rule 2).
|
|
5770
5949
|
*
|
|
5771
5950
|
* Asynchronous because it performs a `register/start` round trip: the
|
|
5772
5951
|
* envelope is sealed under the server's oblivious PRF, so unlike the SRP
|
|
@@ -5774,6 +5953,20 @@ declare class AxiamClient {
|
|
|
5774
5953
|
* valid record.
|
|
5775
5954
|
*/
|
|
5776
5955
|
opaqueEnrollment(password: string): Promise<OpaqueEnrollment>;
|
|
5956
|
+
/**
|
|
5957
|
+
* Build an OPAQUE registration record for the **caller's own** new password,
|
|
5958
|
+
* sealed against the tenant the caller's account lives in (§5.2.2 rule 2).
|
|
5959
|
+
*
|
|
5960
|
+
* Identical to {@link opaqueEnrollment} for every ordinary principal — the
|
|
5961
|
+
* two tenants are the same value there. They diverge for an
|
|
5962
|
+
* organization-level principal that has selected another tenant to act on,
|
|
5963
|
+
* and a record sealed against the acting one is refused with *"the OPAQUE
|
|
5964
|
+
* session was issued for a different tenant"*.
|
|
5965
|
+
*
|
|
5966
|
+
* Requires a completed login: the principal tenant is reported by the login
|
|
5967
|
+
* response, so there is nothing to seal against before then.
|
|
5968
|
+
*/
|
|
5969
|
+
opaqueEnrollmentForSelf(password: string): Promise<OpaqueEnrollment>;
|
|
5777
5970
|
/**
|
|
5778
5971
|
* Whether this installation can perform OPAQUE (§23.2).
|
|
5779
5972
|
*
|
|
@@ -5835,4 +6028,4 @@ declare class AxiamClient {
|
|
|
5835
6028
|
confirmPasswordReset(confirmation: PasswordResetConfirmation): Promise<void>;
|
|
5836
6029
|
}
|
|
5837
6030
|
|
|
5838
|
-
export { type
|
|
6031
|
+
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, normalizeSearch 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, WebauthnPolicyApi as cB, type WebauthnRegistrationChallenge as cC, type WebauthnRegistrationResponse as cD, type WebauthnRequestChallenge as cE, type WebauthnRequestOptionsJson as cF, type WebhookResponse as cG, WebhooksApi as cH, backoffMs as cI, changedCount as cJ, changes as cK, collectPages as cL, createFederationConfigRequestToWire as cM, createScimTokenResponseFromWire as cN, createUserRequestToWire as cO, createWebhookRequestToWire as cP, delayMs as cQ, failure as cR, generatedCaCertificateFromWire as cS, generatedCertificateFromWire as cT, generatedPgpKeyFromWire as cU, hasMore as cV, importCaCertificateRequestToWire as cW, isComplete as cX, isConverged as cY, managementNamespaces as cZ, memoKey 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, oAuth2ClientCreatedResponseFromWire as d0, omitEmptyTenantScope as d1, opaqueEnrollment as d2, opaqueEnrollmentForSelf as d3, pageQuery as d4, rotateSecretResponseFromWire as d5, serviceAccountCreatedResponseFromWire as d6, topologicalOrder as d7, updateFederationConfigRequestToWire as d8, updateWebhookRequestToWire as d9, validate as da, webauthnRequestJson as db, withRetry as dc, 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 };
|