@authyon/auth 0.2.0-beta.30 → 0.2.0-beta.31
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 +40 -39
- package/dist/{ability-CmJEviJj.d.cts → ability-BPJ5VdSC.d.cts} +314 -98
- package/dist/{ability-CmJEviJj.d.ts → ability-BPJ5VdSC.d.ts} +314 -98
- package/dist/index.cjs +96 -63
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +96 -63
- package/dist/react/index.d.cts +2 -2
- package/dist/react/index.d.ts +2 -2
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -554,6 +554,15 @@ function subTenantQuery(options = {}) {
|
|
|
554
554
|
return query;
|
|
555
555
|
}
|
|
556
556
|
|
|
557
|
+
// ../../internal/core/http/tenantLookup.ts
|
|
558
|
+
var UUID = /^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/iu;
|
|
559
|
+
function tenantLookupPath(idOrSlug) {
|
|
560
|
+
const value = typeof idOrSlug === "string" ? idOrSlug.trim() : "";
|
|
561
|
+
if (!value) throw new RangeError("Authyon: a tenant id or slug is required.");
|
|
562
|
+
if (value.length > 64) throw new RangeError("Authyon: a tenant slug has at most 64 characters.");
|
|
563
|
+
return UUID.test(value) ? `/auth/tenants/${encodeURIComponent(value)}` : `/auth/tenants/by-slug/${encodeURIComponent(value.toLowerCase())}`;
|
|
564
|
+
}
|
|
565
|
+
|
|
557
566
|
// src/client/authyonClient.ts
|
|
558
567
|
var FALLBACK_EXPIRES_IN = 1800;
|
|
559
568
|
function readTokens(raw) {
|
|
@@ -662,54 +671,69 @@ var AuthyonClient = class {
|
|
|
662
671
|
return { redirectUri: done?.redirectUri ?? null };
|
|
663
672
|
}
|
|
664
673
|
};
|
|
665
|
-
// ──
|
|
666
|
-
this.
|
|
674
|
+
// ── Tenant ─────────────────────────────────────────────────────────
|
|
675
|
+
this.tenants = {
|
|
667
676
|
/**
|
|
668
|
-
* GET /auth/tenants — filterable list of
|
|
677
|
+
* GET /auth/tenants — filterable list of tenant memberships.
|
|
669
678
|
*
|
|
670
|
-
* Also lists the
|
|
679
|
+
* Also lists the tenants below them that the user may switch into
|
|
671
680
|
* without being a member, marked `inherited` — only the ones that actually
|
|
672
681
|
* carry `subtenants:tree:switch`, so the switcher never offers an
|
|
673
|
-
*
|
|
682
|
+
* tenant the switch would then refuse. `depth` indents the list into
|
|
674
683
|
* the tree it describes.
|
|
675
684
|
*/
|
|
676
685
|
list: (params = {}) => this.request(appendQuery("/auth/tenants", params), { bearer: true }),
|
|
677
686
|
/**
|
|
678
|
-
* POST /auth/tenants — creates
|
|
679
|
-
* user (only available when self-service
|
|
687
|
+
* POST /auth/tenants — creates a tenant owned by the signed-in
|
|
688
|
+
* user (only available when self-service tenant creation is
|
|
680
689
|
* enabled for the environment).
|
|
681
690
|
*
|
|
682
691
|
* `parentTenantId` nests it under one the user already belongs to, which
|
|
683
692
|
* needs `subtenants:tree:create` there. The creator lands as the effective
|
|
684
693
|
* owner either way, with `tenants:settings:manage`,
|
|
685
694
|
* `tenants:members:invite` and `tenants:members:remove` granted directly
|
|
686
|
-
* inside the new
|
|
695
|
+
* inside the new tenant.
|
|
687
696
|
*/
|
|
688
697
|
create: (params = {}) => this.request("/auth/tenants", { method: "POST", bearer: true, body: params }),
|
|
689
|
-
/** GET /auth/tenants/{organizationId} — fetch one of the user's organizations by id. */
|
|
690
|
-
get: (organizationId) => this.request(`/auth/tenants/${encodeURIComponent(organizationId)}`, { bearer: true }),
|
|
691
698
|
/**
|
|
692
|
-
*
|
|
699
|
+
* GET /auth/tenants/{tenantId} — one tenant by id: the user's own,
|
|
700
|
+
* or one below it with `subtenants:tree:read` on an ancestor.
|
|
701
|
+
*/
|
|
702
|
+
get: (tenantId) => this.request(`/auth/tenants/${encodeURIComponent(tenantId)}`, { bearer: true }),
|
|
703
|
+
/**
|
|
704
|
+
* One tenant by id **or** slug — a UUID goes to `GET /auth/tenants/{id}`,
|
|
705
|
+
* anything else to `GET /auth/tenants/by-slug/{slug}`. Same access rule and
|
|
706
|
+
* same answer as `get`, so a page that only has the slug from its URL
|
|
707
|
+
* doesn't have to page `subTenants.list` to find it.
|
|
708
|
+
*
|
|
709
|
+
* By slug, every refusal answers `tenant.not_found` (a slug is guessable,
|
|
710
|
+
* so "exists, not yours" is never told apart from "doesn't exist"). An
|
|
711
|
+
* empty value raises `RangeError` before any request. The slug route needs
|
|
712
|
+
* the Authyon API of 2026-11-26 or newer.
|
|
713
|
+
*/
|
|
714
|
+
find: (idOrSlug) => this.request(tenantLookupPath(idOrSlug), { bearer: true }),
|
|
715
|
+
/**
|
|
716
|
+
* PATCH /auth/tenants/{tenantId} — renames the tenant.
|
|
693
717
|
*
|
|
694
718
|
* Requires the `tenants:settings:manage` custom permission on it, or
|
|
695
|
-
* `subtenants:tree:manage` on
|
|
719
|
+
* `subtenants:tree:manage` on a tenant above it. The value was
|
|
696
720
|
* spelled `tenants:manage` before 2026-10-31 — two segments, which the API
|
|
697
721
|
* could not store, so the endpoint refused everyone who had been granted
|
|
698
722
|
* it.
|
|
699
723
|
*/
|
|
700
|
-
rename: (
|
|
724
|
+
rename: (tenantId, name) => this.request(`/auth/tenants/${encodeURIComponent(tenantId)}`, {
|
|
701
725
|
method: "PATCH",
|
|
702
726
|
bearer: true,
|
|
703
727
|
body: { name }
|
|
704
728
|
}),
|
|
705
729
|
/**
|
|
706
730
|
* POST /auth/switch-tenant — issues a fresh token scoped to the new
|
|
707
|
-
*
|
|
731
|
+
* tenant.
|
|
708
732
|
*
|
|
709
|
-
* Membership is enough for one of the user's own
|
|
710
|
-
* into one below it takes `subtenants:tree:switch` at the
|
|
733
|
+
* Membership is enough for one of the user's own tenants. Descending
|
|
734
|
+
* into one below it takes `subtenants:tree:switch` at the tenant they
|
|
711
735
|
* belong to — deliberately not the same permission as administering a
|
|
712
|
-
* sub-
|
|
736
|
+
* sub-tenant from the outside, since operating AS it is the larger of
|
|
713
737
|
* the two powers. The grants then travel from the node the user belongs to,
|
|
714
738
|
* and the token says so in its `tenant.via`.
|
|
715
739
|
*
|
|
@@ -717,61 +741,58 @@ var AuthyonClient = class {
|
|
|
717
741
|
* `tenant.ancestor_disabled`, and `tenant.path_stale` when the tree moved
|
|
718
742
|
* under a session — sign-in again rather than retrying.
|
|
719
743
|
*/
|
|
720
|
-
switch: (
|
|
744
|
+
switch: (tenantSlug) => this.request("/auth/switch-tenant", {
|
|
721
745
|
method: "POST",
|
|
722
746
|
bearer: true,
|
|
723
|
-
body: { tenantSlug
|
|
747
|
+
body: { tenantSlug }
|
|
724
748
|
}).then((data) => this.setSession({ tokens: readTokens(data) }, "refreshed")).then((session) => this.hydrateUser(session)),
|
|
725
|
-
/** The
|
|
726
|
-
current: () => this.getSession()?.user?.
|
|
749
|
+
/** The tenant the current session is scoped to, from the cached session — no network call. */
|
|
750
|
+
current: () => this.getSession()?.user?.activeTenant ?? null,
|
|
727
751
|
members: {
|
|
728
752
|
/**
|
|
729
|
-
* GET /auth/tenants/{
|
|
730
|
-
*
|
|
753
|
+
* GET /auth/tenants/{tenantId}/members — paginated list of an
|
|
754
|
+
* tenant's members, newest first, in the `Paged<T>` envelope every
|
|
731
755
|
* other `skip`/`take` endpoint returns. `search` matches email, username
|
|
732
756
|
* or name; at most 100 characters, and `take` 1-100, checked before any
|
|
733
757
|
* request.
|
|
734
758
|
*/
|
|
735
|
-
list: (
|
|
736
|
-
appendQuery(
|
|
737
|
-
`/auth/tenants/${encodeURIComponent(organizationId)}/members`,
|
|
738
|
-
memberQuery(params)
|
|
739
|
-
),
|
|
759
|
+
list: (tenantId, params = {}) => this.request(
|
|
760
|
+
appendQuery(`/auth/tenants/${encodeURIComponent(tenantId)}/members`, memberQuery(params)),
|
|
740
761
|
{ bearer: true }
|
|
741
762
|
),
|
|
742
763
|
/**
|
|
743
|
-
* POST /auth/tenants/{
|
|
764
|
+
* POST /auth/tenants/{tenantId}/members — add an existing
|
|
744
765
|
* environment user by e-mail (no e-mail is sent). To invite an address
|
|
745
|
-
* that may not have an account yet, use `
|
|
766
|
+
* that may not have an account yet, use `tenants.invites.create`.
|
|
746
767
|
*/
|
|
747
|
-
invite: (
|
|
768
|
+
invite: (tenantId, params) => this.request(`/auth/tenants/${encodeURIComponent(tenantId)}/members`, {
|
|
748
769
|
method: "POST",
|
|
749
770
|
bearer: true,
|
|
750
771
|
body: params
|
|
751
772
|
}),
|
|
752
|
-
/** DELETE /auth/tenants/{
|
|
753
|
-
remove: (
|
|
754
|
-
`/auth/tenants/${encodeURIComponent(
|
|
773
|
+
/** DELETE /auth/tenants/{tenantId}/members/{userId} — remove a member. */
|
|
774
|
+
remove: (tenantId, userId) => this.request(
|
|
775
|
+
`/auth/tenants/${encodeURIComponent(tenantId)}/members/${encodeURIComponent(userId)}`,
|
|
755
776
|
{ method: "DELETE", bearer: true }
|
|
756
777
|
)
|
|
757
778
|
},
|
|
758
779
|
/**
|
|
759
780
|
* Invites by e-mail or by link. Managing them requires the
|
|
760
|
-
* `tenants:members:invite` permission on the
|
|
781
|
+
* `tenants:members:invite` permission on the tenant; `preview` and
|
|
761
782
|
* `accept` are public — the token in the link is the credential.
|
|
762
783
|
*/
|
|
763
784
|
invites: {
|
|
764
|
-
/** GET /auth/tenants/{
|
|
765
|
-
list: (
|
|
785
|
+
/** GET /auth/tenants/{tenantId}/invites — every invite with its status, newest first. */
|
|
786
|
+
list: (tenantId) => this.request(`/auth/tenants/${encodeURIComponent(tenantId)}/invites`, {
|
|
766
787
|
bearer: true
|
|
767
788
|
}),
|
|
768
789
|
/**
|
|
769
|
-
* POST /auth/tenants/{
|
|
790
|
+
* POST /auth/tenants/{tenantId}/invites — invite an address.
|
|
770
791
|
* Always returns `acceptUrl`; with `sendEmail: false` Authyon does not
|
|
771
792
|
* mail it and you deliver the link yourself. The link is valid for 7
|
|
772
793
|
* days, once, and can't be read again later.
|
|
773
794
|
*/
|
|
774
|
-
create: (
|
|
795
|
+
create: (tenantId, params) => this.request(`/auth/tenants/${encodeURIComponent(tenantId)}/invites`, {
|
|
775
796
|
method: "POST",
|
|
776
797
|
bearer: true,
|
|
777
798
|
body: {
|
|
@@ -782,17 +803,17 @@ var AuthyonClient = class {
|
|
|
782
803
|
}
|
|
783
804
|
}),
|
|
784
805
|
/**
|
|
785
|
-
* POST /auth/tenants/{
|
|
806
|
+
* POST /auth/tenants/{tenantId}/invites/{inviteId}/resend — issue
|
|
786
807
|
* a new link (the previous one stops working), mailing it unless
|
|
787
808
|
* `sendEmail` is `false`.
|
|
788
809
|
*/
|
|
789
|
-
resend: (
|
|
790
|
-
`/auth/tenants/${encodeURIComponent(
|
|
810
|
+
resend: (tenantId, inviteId, params = {}) => this.request(
|
|
811
|
+
`/auth/tenants/${encodeURIComponent(tenantId)}/invites/${encodeURIComponent(inviteId)}/resend`,
|
|
791
812
|
{ method: "POST", bearer: true, body: { sendEmail: params.sendEmail ?? true } }
|
|
792
813
|
),
|
|
793
|
-
/** DELETE /auth/tenants/{
|
|
794
|
-
revoke: (
|
|
795
|
-
`/auth/tenants/${encodeURIComponent(
|
|
814
|
+
/** DELETE /auth/tenants/{tenantId}/invites/{inviteId} — revoke a pending invite. */
|
|
815
|
+
revoke: (tenantId, inviteId) => this.request(
|
|
816
|
+
`/auth/tenants/${encodeURIComponent(tenantId)}/invites/${encodeURIComponent(inviteId)}`,
|
|
796
817
|
{ method: "DELETE", bearer: true }
|
|
797
818
|
),
|
|
798
819
|
/**
|
|
@@ -802,41 +823,41 @@ var AuthyonClient = class {
|
|
|
802
823
|
*/
|
|
803
824
|
preview: (token) => this.request("/auth/tenant-invites/preview", { method: "POST", body: { token } }),
|
|
804
825
|
/**
|
|
805
|
-
* POST /auth/tenant-invites/accept — public. Joins the
|
|
826
|
+
* POST /auth/tenant-invites/accept — public. Joins the tenant; for
|
|
806
827
|
* an address with no account, also creates it (password required) with
|
|
807
828
|
* the e-mail already confirmed. Does not sign the user in.
|
|
808
829
|
*/
|
|
809
830
|
accept: (params) => this.request("/auth/tenant-invites/accept", { method: "POST", body: params })
|
|
810
831
|
},
|
|
811
832
|
/**
|
|
812
|
-
* The direct, active sub-
|
|
833
|
+
* The direct, active sub-tenants of a tenant. One level per
|
|
813
834
|
* call: each row's `childCount` says where the next call is worth making,
|
|
814
835
|
* which is what a lazily expanded tree asks for.
|
|
815
836
|
*
|
|
816
|
-
* Needs `subtenants:tree:read` on the
|
|
817
|
-
* even on the user's own
|
|
837
|
+
* Needs `subtenants:tree:read` on the tenant or on one above it —
|
|
838
|
+
* even on the user's own tenant, since listing the children is
|
|
818
839
|
* reading below it. Paged like every other `skip`/`take` listing, with
|
|
819
840
|
* `search` (name, slug, description and public metadata), `filter` (public
|
|
820
841
|
* scope only — build them with `tenantFilter`) and `orderBy`
|
|
821
842
|
* (`name` | `createdAt` | `updatedAt`, ascending or descending). A bad
|
|
822
843
|
* option raises `RangeError` before any request.
|
|
823
844
|
*
|
|
824
|
-
* Not the same list as `
|
|
845
|
+
* Not the same list as `tenants.list()`, which is the switcher's and
|
|
825
846
|
* only brings what `subtenants:tree:switch` lets the user enter. Requires
|
|
826
847
|
* the Authyon API of 2026-11-26 or newer.
|
|
827
848
|
*/
|
|
828
|
-
|
|
829
|
-
/** GET /auth/tenants/{
|
|
830
|
-
list: (
|
|
849
|
+
subTenants: {
|
|
850
|
+
/** GET /auth/tenants/{tenantId}/subtenants. */
|
|
851
|
+
list: (tenantId, params = {}) => this.request(
|
|
831
852
|
appendQuery(
|
|
832
|
-
`/auth/tenants/${encodeURIComponent(
|
|
853
|
+
`/auth/tenants/${encodeURIComponent(tenantId)}/subtenants`,
|
|
833
854
|
subTenantQuery(params)
|
|
834
855
|
),
|
|
835
856
|
{ bearer: true }
|
|
836
857
|
),
|
|
837
858
|
/**
|
|
838
|
-
* GET /auth/tenants/subtenants — the same, for the
|
|
839
|
-
* session is scoped to (`
|
|
859
|
+
* GET /auth/tenants/subtenants — the same, for the tenant the
|
|
860
|
+
* session is scoped to (`tenants.current()`, the token's
|
|
840
861
|
* `tenant_id`). Same permission rule; answers `tenant.no_active_tenant`
|
|
841
862
|
* when the session never switched into one.
|
|
842
863
|
*/
|
|
@@ -845,12 +866,19 @@ var AuthyonClient = class {
|
|
|
845
866
|
})
|
|
846
867
|
},
|
|
847
868
|
roles: {
|
|
848
|
-
/** GET /auth/tenants/{
|
|
849
|
-
list: (
|
|
869
|
+
/** GET /auth/tenants/{tenantId}/roles — roles available in the tenant. */
|
|
870
|
+
list: (tenantId) => this.request(`/auth/tenants/${encodeURIComponent(tenantId)}/roles`, {
|
|
850
871
|
bearer: true
|
|
851
872
|
})
|
|
852
873
|
}
|
|
853
874
|
};
|
|
875
|
+
/**
|
|
876
|
+
* @deprecated Use `tenants` — the same methods, named after the API's own
|
|
877
|
+
* vocabulary (`tenants.subTenants` instead of `subOrganizations`). Kept so
|
|
878
|
+
* code written against 0.2.0-beta.30 and earlier keeps working; removed in a
|
|
879
|
+
* later release.
|
|
880
|
+
*/
|
|
881
|
+
this.organization = { ...this.tenants, subOrganizations: this.tenants.subTenants };
|
|
854
882
|
// ── Two-factor management (authenticated) ────────────────────────────────
|
|
855
883
|
this.twoFactor = {
|
|
856
884
|
/** GET /auth/2fa/status — enrolled methods and recovery code count. */
|
|
@@ -1093,8 +1121,9 @@ var AuthyonClient = class {
|
|
|
1093
1121
|
* 2FA challenge to complete via `verifyTwoFactor()`.
|
|
1094
1122
|
*/
|
|
1095
1123
|
async login(params) {
|
|
1096
|
-
const { organizationSlug, ...rest } = params;
|
|
1097
|
-
const
|
|
1124
|
+
const { organizationSlug, tenantSlug, ...rest } = params;
|
|
1125
|
+
const slug = tenantSlug ?? organizationSlug;
|
|
1126
|
+
const body = slug ? { ...rest, tenantSlug: slug } : rest;
|
|
1098
1127
|
const data = await this.request("/auth/login", { method: "POST", body });
|
|
1099
1128
|
if (data.twoFactor) {
|
|
1100
1129
|
return { twoFactorRequired: true, ...data.twoFactor };
|
|
@@ -1195,11 +1224,15 @@ var AuthyonClient = class {
|
|
|
1195
1224
|
}
|
|
1196
1225
|
};
|
|
1197
1226
|
function normalizeUser(raw) {
|
|
1198
|
-
const { tenant, tenants, activeTenant, ...rest } = raw;
|
|
1227
|
+
const { tenant, tenants, activeTenant, organizations, activeOrganization, ...rest } = raw;
|
|
1228
|
+
const list = tenants ?? organizations;
|
|
1229
|
+
const active = tenant ?? activeTenant ?? activeOrganization ?? null;
|
|
1199
1230
|
return {
|
|
1200
1231
|
...rest,
|
|
1201
|
-
|
|
1202
|
-
|
|
1232
|
+
tenants: list,
|
|
1233
|
+
activeTenant: active,
|
|
1234
|
+
organizations: list,
|
|
1235
|
+
activeOrganization: active
|
|
1203
1236
|
};
|
|
1204
1237
|
}
|
|
1205
1238
|
function createClient(options) {
|
package/dist/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { T as TokenStorage, H as HttpAdapter, a as HttpLoggerOptions, A as AuthyonClient } from './ability-
|
|
2
|
-
export { b as AbilityConditions, c as AbilityEvent, d as AbilityListener, e as AbilityRule, f as AbilitySubject, g as AcceptOrganizationInviteInput, h as
|
|
1
|
+
import { T as TokenStorage, H as HttpAdapter, a as HttpLoggerOptions, A as AuthyonClient } from './ability-BPJ5VdSC.cjs';
|
|
2
|
+
export { b as AbilityConditions, c as AbilityEvent, d as AbilityListener, e as AbilityRule, f as AbilitySubject, g as AcceptOrganizationInviteInput, h as AcceptTenantInviteInput, i as Activity, j as Approval, k as ApprovalAssurance, l as ApprovalPayload, m as ApprovalStatus, n as ApprovalWebAuthnOptions, o as AuthEvent, p as AuthState, q as AuthStateListener, r as AuthenticatorSetup, s as AuthyonAbility, t as AuthyonAbilityBuilder, u as AuthyonAbilityOptions, v as AuthyonClientOptions, w as AuthyonPermissionSource, x as AuthyonSessionController, C as ConfirmApprovalInput, y as CreateOrganizationInput, z as CreateTenantInput, F as FetchHttpAdapter, B as HttpAdapterRequest, D as HttpLogEvent, E as HttpLogger, I as IntrospectResult, G as InviteMemberInput, L as LoggingHttpAdapter, J as LoginInput, K as LoginResult, M as MemberListOptions, O as Organization, N as OrganizationInvite, P as OrganizationInviteAccepted, Q as OrganizationInviteInput, R as OrganizationInviteIssued, S as OrganizationInvitePreview, U as OrganizationInviteStatus, V as OrganizationMember, W as Paged, X as PaginationOptions, Y as PasswordResetCompleted, Z as PasswordResetPreview, _ as PasswordResetRequestOptions, $ as PermissionGroup, a0 as RegisterInput, a1 as Role, a2 as SecurityMethods, a3 as Session, a4 as SessionControllerOptions, a5 as SessionInfo, a6 as SessionSnapshot, a7 as SessionSnapshotListener, a8 as SessionStatus, a9 as SsoProvider, aa as SubOrganization, ab as SubOrganizationListOptions, ac as SubTenant, ad as SubTenantListOptions, ae as SubjectApprovals, af as SubjectSecurity, ag as Tenant, ah as TenantInvite, ai as TenantInviteAccepted, aj as TenantInviteInput, ak as TenantInviteIssued, al as TenantInvitePreview, am as TenantInviteStatus, an as TenantMember, ao as TenantOrder, ap as TenantOrderField, aq as TenantParent, ar as TwoFactorChallenge, as as TwoFactorMethod, at as TwoFactorStatus, au as User, av as ValidateResult, aw as VerifyTwoFactorInput, ax as WebAuthnAssertion, ay as WebAuthnCeremonyStart, az as WebAuthnCredential, aA as createAuthyonAbility, aB as createAuthyonRules, aC as createClient, aD as hasPermission, aE as hasPermissionGroup } from './ability-BPJ5VdSC.cjs';
|
|
3
3
|
|
|
4
4
|
declare const ErrorCodes: {
|
|
5
5
|
readonly Unknown: "unknown";
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { T as TokenStorage, H as HttpAdapter, a as HttpLoggerOptions, A as AuthyonClient } from './ability-
|
|
2
|
-
export { b as AbilityConditions, c as AbilityEvent, d as AbilityListener, e as AbilityRule, f as AbilitySubject, g as AcceptOrganizationInviteInput, h as
|
|
1
|
+
import { T as TokenStorage, H as HttpAdapter, a as HttpLoggerOptions, A as AuthyonClient } from './ability-BPJ5VdSC.js';
|
|
2
|
+
export { b as AbilityConditions, c as AbilityEvent, d as AbilityListener, e as AbilityRule, f as AbilitySubject, g as AcceptOrganizationInviteInput, h as AcceptTenantInviteInput, i as Activity, j as Approval, k as ApprovalAssurance, l as ApprovalPayload, m as ApprovalStatus, n as ApprovalWebAuthnOptions, o as AuthEvent, p as AuthState, q as AuthStateListener, r as AuthenticatorSetup, s as AuthyonAbility, t as AuthyonAbilityBuilder, u as AuthyonAbilityOptions, v as AuthyonClientOptions, w as AuthyonPermissionSource, x as AuthyonSessionController, C as ConfirmApprovalInput, y as CreateOrganizationInput, z as CreateTenantInput, F as FetchHttpAdapter, B as HttpAdapterRequest, D as HttpLogEvent, E as HttpLogger, I as IntrospectResult, G as InviteMemberInput, L as LoggingHttpAdapter, J as LoginInput, K as LoginResult, M as MemberListOptions, O as Organization, N as OrganizationInvite, P as OrganizationInviteAccepted, Q as OrganizationInviteInput, R as OrganizationInviteIssued, S as OrganizationInvitePreview, U as OrganizationInviteStatus, V as OrganizationMember, W as Paged, X as PaginationOptions, Y as PasswordResetCompleted, Z as PasswordResetPreview, _ as PasswordResetRequestOptions, $ as PermissionGroup, a0 as RegisterInput, a1 as Role, a2 as SecurityMethods, a3 as Session, a4 as SessionControllerOptions, a5 as SessionInfo, a6 as SessionSnapshot, a7 as SessionSnapshotListener, a8 as SessionStatus, a9 as SsoProvider, aa as SubOrganization, ab as SubOrganizationListOptions, ac as SubTenant, ad as SubTenantListOptions, ae as SubjectApprovals, af as SubjectSecurity, ag as Tenant, ah as TenantInvite, ai as TenantInviteAccepted, aj as TenantInviteInput, ak as TenantInviteIssued, al as TenantInvitePreview, am as TenantInviteStatus, an as TenantMember, ao as TenantOrder, ap as TenantOrderField, aq as TenantParent, ar as TwoFactorChallenge, as as TwoFactorMethod, at as TwoFactorStatus, au as User, av as ValidateResult, aw as VerifyTwoFactorInput, ax as WebAuthnAssertion, ay as WebAuthnCeremonyStart, az as WebAuthnCredential, aA as createAuthyonAbility, aB as createAuthyonRules, aC as createClient, aD as hasPermission, aE as hasPermissionGroup } from './ability-BPJ5VdSC.js';
|
|
3
3
|
|
|
4
4
|
declare const ErrorCodes: {
|
|
5
5
|
readonly Unknown: "unknown";
|