@keycloak/keycloak-admin-ui 26.7.5 → 26.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +10 -0
- package/lib/.vite/manifest.json +52 -42
- package/lib/{AddDefaultTrust-BvsWwMDh.js → AddDefaultTrust-0TzkSSVz.js} +8 -8
- package/lib/{AddDefaultTrust-BvsWwMDh.js.map → AddDefaultTrust-0TzkSSVz.js.map} +1 -1
- package/lib/{AddJWTAuthorizationGrant-ByBPPwyK.js → AddJWTAuthorizationGrant-BBVNGscZ.js} +12 -12
- package/lib/{AddJWTAuthorizationGrant-ByBPPwyK.js.map → AddJWTAuthorizationGrant-BBVNGscZ.js.map} +1 -1
- package/lib/{AddKubernetesConnect-D4xTogVo.js → AddKubernetesConnect-D_HJWqhs.js} +14 -11
- package/lib/AddKubernetesConnect-D_HJWqhs.js.map +1 -0
- package/lib/{AddOAuth2-BDmTZ-YA.js → AddOAuth2-BiNgjhyO.js} +13 -13
- package/lib/{AddOAuth2-BDmTZ-YA.js.map → AddOAuth2-BiNgjhyO.js.map} +1 -1
- package/lib/AddOid4Vp-gKawBcrP.js +73 -0
- package/lib/AddOid4Vp-gKawBcrP.js.map +1 -0
- package/lib/{AddSpiffeConnect-B6_E1i6Z.js → AddSpiffeConnect-BmHbvLbU.js} +8 -8
- package/lib/{AddSpiffeConnect-B6_E1i6Z.js.map → AddSpiffeConnect-BmHbvLbU.js.map} +1 -1
- package/lib/{CreateFlow-C5QWzOsy.js → CreateFlow-9Jjjw5b9.js} +2 -2
- package/lib/{CreateFlow-C5QWzOsy.js.map → CreateFlow-9Jjjw5b9.js.map} +1 -1
- package/lib/DetailOrganization-DZcO3bbq.js +420 -0
- package/lib/DetailOrganization-DZcO3bbq.js.map +1 -0
- package/lib/{ExecutorForm-n3e9Qvrl.js → ExecutorForm-BrHBEQVA.js} +23 -23
- package/lib/{ExecutorForm-n3e9Qvrl.js.map → ExecutorForm-BrHBEQVA.js.map} +1 -1
- package/lib/{FlowDetails-CnVZXaRP.js → FlowDetails-FqkRF9Fk.js} +243 -226
- package/lib/{FlowDetails-CnVZXaRP.js.map → FlowDetails-FqkRF9Fk.js.map} +1 -1
- package/lib/{NewOrganization-D4X_bhyD.js → NewOrganization-mwmhTgBv.js} +13 -13
- package/lib/NewOrganization-mwmhTgBv.js.map +1 -0
- package/lib/{PermissionConfigurationDetails-UjUwrvYu.js → PermissionConfigurationDetails-BWUvLMh4.js} +92 -91
- package/lib/PermissionConfigurationDetails-BWUvLMh4.js.map +1 -0
- package/lib/PermissionDetails-BkVFczt9.js +437 -0
- package/lib/PermissionDetails-BkVFczt9.js.map +1 -0
- package/lib/{RealmSection-BTCX9rHA.js → RealmSection-DJ8T80Z6.js} +26 -26
- package/lib/{RealmSection-BTCX9rHA.js.map → RealmSection-DJ8T80Z6.js.map} +1 -1
- package/lib/{ResourceDetails-C3cyeLL5.js → ResourceDetails-Cyb5CmVt.js} +24 -24
- package/lib/{ResourceDetails-C3cyeLL5.js.map → ResourceDetails-Cyb5CmVt.js.map} +1 -1
- package/lib/{ScopeDetails-C16qMBw-.js → ScopeDetails-BV7h3hMw.js} +17 -17
- package/lib/{ScopeDetails-C16qMBw-.js.map → ScopeDetails-BV7h3hMw.js.map} +1 -1
- package/lib/{ScopePicker-DbxK9g9R.js → ScopePicker-USX1qW3k.js} +18 -18
- package/lib/{ScopePicker-DbxK9g9R.js.map → ScopePicker-USX1qW3k.js.map} +1 -1
- package/lib/{WorkflowDetailForm-d5rClboG.js → WorkflowDetailForm-BDIXzgoJ.js} +31 -31
- package/lib/{WorkflowDetailForm-d5rClboG.js.map → WorkflowDetailForm-BDIXzgoJ.js.map} +1 -1
- package/lib/{WorkflowsSection-DRU3QF93.js → WorkflowsSection-Htg3cqfo.js} +16 -16
- package/lib/{WorkflowsSection-DRU3QF93.js.map → WorkflowsSection-Htg3cqfo.js.map} +1 -1
- package/lib/apps/admin-ui/src/authentication/constants.d.ts +3 -1
- package/lib/apps/admin-ui/src/client-scopes/details/oid4vciAttributes.d.ts +8 -3
- package/lib/apps/admin-ui/src/clients/ssf/tabs/CreateStreamForm.d.ts +18 -0
- package/lib/apps/admin-ui/src/clients/ssf/utils.d.ts +13 -0
- package/lib/apps/admin-ui/src/components/client/ClientSelect.d.ts +3 -4
- package/lib/apps/admin-ui/src/components/client/ClientSelectModal.d.ts +8 -0
- package/lib/apps/admin-ui/src/components/group/GroupPickerDialog.d.ts +8 -2
- package/lib/apps/admin-ui/src/components/role-mapping/RoleMapping.d.ts +1 -32
- package/lib/apps/admin-ui/src/components/role-mapping/resource.d.ts +9 -1
- package/lib/apps/admin-ui/src/context/identity-provider/IdentityProviderContext.d.ts +12 -0
- package/lib/apps/admin-ui/src/identity-providers/add/AddOid4Vp.d.ts +1 -0
- package/lib/apps/admin-ui/src/identity-providers/add/IdpDomainsTab.d.ts +5 -0
- package/lib/apps/admin-ui/src/identity-providers/add/IdpOrganizationsTab.d.ts +6 -0
- package/lib/apps/admin-ui/src/identity-providers/add/Oid4VpSettings.d.ts +1 -0
- package/lib/apps/admin-ui/src/identity-providers/routes/IdentityProvider.d.ts +1 -1
- package/lib/apps/admin-ui/src/identity-providers/routes/IdentityProviderOid4Vp.d.ts +7 -0
- package/lib/apps/admin-ui/src/organizations/DomainsTab.d.ts +1 -0
- package/lib/apps/admin-ui/src/organizations/IdentityProviderSelect.d.ts +4 -1
- package/lib/apps/admin-ui/src/organizations/MembershipTypeToggle.d.ts +9 -0
- package/lib/apps/admin-ui/src/organizations/OrganizationForm.d.ts +4 -1
- package/lib/apps/admin-ui/src/organizations/routes/EditOrganization.d.ts +1 -1
- package/lib/apps/admin-ui/src/realm-settings/ssf/SsfTransmitterDisableConfirmDialog.d.ts +1 -1
- package/lib/apps/admin-ui/src/utils/useIsFeatureEnabled.d.ts +3 -1
- package/lib/{index-C-D-m0EP.js → index-DsIT2BLV.js} +23888 -22978
- package/lib/{index-C-D-m0EP.js.map → index-DsIT2BLV.js.map} +1 -1
- package/lib/keycloak-admin-ui.js +75 -75
- package/package.json +4 -4
- package/lib/AddKubernetesConnect-D4xTogVo.js.map +0 -1
- package/lib/DetailOrganization-amJJPyq-.js +0 -204
- package/lib/DetailOrganization-amJJPyq-.js.map +0 -1
- package/lib/NewOrganization-D4X_bhyD.js.map +0 -1
- package/lib/PermissionConfigurationDetails-UjUwrvYu.js.map +0 -1
- package/lib/PermissionDetails-gUH5Lf-7.js +0 -413
- package/lib/PermissionDetails-gUH5Lf-7.js.map +0 -1
|
@@ -10,38 +10,7 @@ export type Row = {
|
|
|
10
10
|
role: RoleRepresentation | CompositeRole;
|
|
11
11
|
id?: string;
|
|
12
12
|
};
|
|
13
|
-
export declare const mapRoles: (assignedRoles: Row[], effectiveRoles: Row[], hide: boolean) =>
|
|
14
|
-
role: {
|
|
15
|
-
isInherited: boolean;
|
|
16
|
-
id?: string;
|
|
17
|
-
name?: string;
|
|
18
|
-
description?: string;
|
|
19
|
-
scopeParamRequired?: boolean;
|
|
20
|
-
composite?: boolean;
|
|
21
|
-
composites?: import('@keycloak/keycloak-admin-client/lib/defs/roleRepresentation').Composites;
|
|
22
|
-
clientRole?: boolean;
|
|
23
|
-
containerId?: string;
|
|
24
|
-
attributes?: {
|
|
25
|
-
[index: string]: string[];
|
|
26
|
-
};
|
|
27
|
-
} | {
|
|
28
|
-
isInherited: boolean;
|
|
29
|
-
id?: string;
|
|
30
|
-
name?: string;
|
|
31
|
-
description?: string;
|
|
32
|
-
scopeParamRequired?: boolean;
|
|
33
|
-
composite?: boolean;
|
|
34
|
-
composites?: import('@keycloak/keycloak-admin-client/lib/defs/roleRepresentation').Composites;
|
|
35
|
-
clientRole?: boolean;
|
|
36
|
-
containerId?: string;
|
|
37
|
-
attributes?: {
|
|
38
|
-
[index: string]: string[];
|
|
39
|
-
};
|
|
40
|
-
parent: RoleRepresentation;
|
|
41
|
-
};
|
|
42
|
-
client?: ClientRepresentation;
|
|
43
|
-
id: string;
|
|
44
|
-
}[];
|
|
13
|
+
export declare const mapRoles: (assignedRoles: Row[], effectiveRoles: Row[], hide: boolean) => Row[];
|
|
45
14
|
export declare const ServiceRole: ({ role, client }: Row) => import("react/jsx-runtime").JSX.Element;
|
|
46
15
|
export type ResourcesKey = keyof KeycloakAdminClient;
|
|
47
16
|
type RoleMappingProps = {
|
|
@@ -69,5 +69,13 @@ export type BruteUser = UserRepresentation & {
|
|
|
69
69
|
bruteForceStatus?: Record<string, object>;
|
|
70
70
|
};
|
|
71
71
|
export declare const findUsers: (adminClient: KeycloakAdminClient, query: UserQuery) => Promise<BruteUser[]>;
|
|
72
|
-
export
|
|
72
|
+
export type UsedByClientRef = {
|
|
73
|
+
id?: string | null;
|
|
74
|
+
clientId: string;
|
|
75
|
+
};
|
|
76
|
+
export type UsedByReference = {
|
|
77
|
+
id?: string | null;
|
|
78
|
+
label: string;
|
|
79
|
+
};
|
|
80
|
+
export declare const fetchUsedBy: (adminClient: KeycloakAdminClient, query: PaginatingQuery) => Promise<UsedByReference[]>;
|
|
73
81
|
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { default as IdentityProviderRepresentation } from '@keycloak/keycloak-admin-client/lib/defs/identityProviderRepresentation';
|
|
2
|
+
import { PropsWithChildren } from 'react';
|
|
3
|
+
export declare const IdentityProviderContext: import('libs/ui-shared/dist/utils/createNamedContext').NamedContext<IdentityProviderRepresentation | undefined>;
|
|
4
|
+
/**
|
|
5
|
+
* The identity provider a mapper form belongs to, or undefined outside of one.
|
|
6
|
+
*/
|
|
7
|
+
export declare const useIdentityProvider: () => IdentityProviderRepresentation | undefined;
|
|
8
|
+
type IdentityProviderContextProviderProps = PropsWithChildren & {
|
|
9
|
+
value?: IdentityProviderRepresentation;
|
|
10
|
+
};
|
|
11
|
+
export declare const IdentityProviderContextProvider: ({ value, children, }: IdentityProviderContextProviderProps) => import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default function AddOid4Vp(): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default function Oid4VpSettings(): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Path } from 'react-router-dom';
|
|
2
2
|
import { AppRouteObject } from '../../routes';
|
|
3
|
-
export type IdentityProviderTab = "settings" | "mappers" | "permissions" | "events";
|
|
3
|
+
export type IdentityProviderTab = "settings" | "mappers" | "organizations" | "permissions" | "events";
|
|
4
4
|
export type IdentityProviderParams = {
|
|
5
5
|
realm: string;
|
|
6
6
|
providerId: string;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Path } from 'react-router-dom';
|
|
2
|
+
import { AppRouteObject } from '../../routes';
|
|
3
|
+
export type IdentityProviderOid4VpParams = {
|
|
4
|
+
realm: string;
|
|
5
|
+
};
|
|
6
|
+
export declare const IdentityProviderOid4VpRoute: AppRouteObject;
|
|
7
|
+
export declare const toIdentityProviderOid4Vp: (params: IdentityProviderOid4VpParams) => Partial<Path>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const DomainsTab: () => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,7 +1,10 @@
|
|
|
1
|
+
import { default as IdentityProviderRepresentation } from '@keycloak/keycloak-admin-client/lib/defs/identityProviderRepresentation';
|
|
1
2
|
import { ComponentProps } from '../components/dynamic/components';
|
|
2
3
|
type IdentityProviderSelectProps = Omit<ComponentProps, "convertToName"> & {
|
|
3
4
|
variant?: "typeaheadMulti" | "typeahead";
|
|
4
5
|
isRequired?: boolean;
|
|
6
|
+
orgId?: string;
|
|
7
|
+
onIdpSelected?: (idp: IdentityProviderRepresentation) => void;
|
|
5
8
|
};
|
|
6
|
-
export declare const IdentityProviderSelect: ({ name, label, helpText, defaultValue, isRequired, variant, isDisabled, }: IdentityProviderSelectProps) => import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export declare const IdentityProviderSelect: ({ name, label, helpText, defaultValue, isRequired, variant, isDisabled, orgId, onIdpSelected, }: IdentityProviderSelectProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
10
|
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
type MembershipTypeToggleProps = {
|
|
2
|
+
orgId: string;
|
|
3
|
+
userId: string;
|
|
4
|
+
/** Labels the switch, the member or the organization depending on the table. */
|
|
5
|
+
name?: string;
|
|
6
|
+
isManaged: boolean;
|
|
7
|
+
};
|
|
8
|
+
export declare const MembershipTypeToggle: ({ orgId, userId, name, isManaged, }: MembershipTypeToggleProps) => import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export {};
|
|
@@ -1,11 +1,14 @@
|
|
|
1
|
+
import { default as OrganizationDomainRepresentation } from '@keycloak/keycloak-admin-client/lib/defs/organizationDomainRepresentation';
|
|
1
2
|
import { default as OrganizationRepresentation } from '@keycloak/keycloak-admin-client/lib/defs/organizationRepresentation';
|
|
2
3
|
import { AttributeForm } from '../components/key-value-form/AttributeForm';
|
|
3
4
|
export type OrganizationFormType = AttributeForm & Omit<OrganizationRepresentation, "domains" | "attributes"> & {
|
|
4
5
|
domains?: string[];
|
|
6
|
+
serverDomains?: OrganizationDomainRepresentation[];
|
|
5
7
|
};
|
|
6
8
|
export declare const convertToOrg: (org: OrganizationFormType) => OrganizationRepresentation;
|
|
7
9
|
type OrganizationFormProps = {
|
|
8
10
|
readOnly?: boolean;
|
|
11
|
+
showDomains?: boolean;
|
|
9
12
|
};
|
|
10
|
-
export declare const OrganizationForm: ({ readOnly, }: OrganizationFormProps) => import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
export declare const OrganizationForm: ({ readOnly, showDomains, }: OrganizationFormProps) => import("react/jsx-runtime").JSX.Element;
|
|
11
14
|
export {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Path } from 'react-router-dom';
|
|
2
2
|
import { AppRouteObject } from '../../routes';
|
|
3
|
-
export type OrganizationTab = "settings" | "attributes" | "members" | "groups" | "identityProviders" | "events";
|
|
3
|
+
export type OrganizationTab = "settings" | "attributes" | "members" | "groups" | "domains" | "identityProviders" | "events";
|
|
4
4
|
export type EditOrganizationParams = {
|
|
5
5
|
realm: string;
|
|
6
6
|
id: string;
|
|
@@ -19,7 +19,7 @@ type UseSsfTransmitterDisableConfirmDialogProps = {
|
|
|
19
19
|
* and proceeds with the save (the {@code outbox-pending-max-age}
|
|
20
20
|
* backstop will sweep any leftover PENDING rows on its own).
|
|
21
21
|
*/
|
|
22
|
-
export declare const deleteRealmSsfQueuedEvents: (adminClient: KeycloakAdminClient
|
|
22
|
+
export declare const deleteRealmSsfQueuedEvents: (adminClient: KeycloakAdminClient) => Promise<void>;
|
|
23
23
|
/**
|
|
24
24
|
* Confirm dialog shown when an admin toggles the realm-level SSF
|
|
25
25
|
* Transmitter feature off. Surfaces the cascading effects (silent
|
|
@@ -12,6 +12,7 @@ export declare enum Feature {
|
|
|
12
12
|
DeclarativeUI = "DECLARATIVE_UI",
|
|
13
13
|
Organizations = "ORGANIZATION",
|
|
14
14
|
OpenId4VCI = "OID4VC_VCI",
|
|
15
|
+
OpenId4VCIMdoc = "OID4VC_MDOC",
|
|
15
16
|
QuickTheme = "QUICK_THEME",
|
|
16
17
|
StandardTokenExchangeV2 = "TOKEN_EXCHANGE_STANDARD_V2",
|
|
17
18
|
JWTAuthorizationGrant = "JWT_AUTHORIZATION_GRANT",
|
|
@@ -22,7 +23,8 @@ export declare enum Feature {
|
|
|
22
23
|
Ssf = "SSF",
|
|
23
24
|
ScimApi = "SCIM_API",
|
|
24
25
|
IdentityBrokeringAPIV1 = "IDENTITY_BROKERING_API_V1",
|
|
25
|
-
IdentityBrokeringAPIV2 = "IDENTITY_BROKERING_API_V2"
|
|
26
|
+
IdentityBrokeringAPIV2 = "IDENTITY_BROKERING_API_V2",
|
|
27
|
+
ResourceIndicators = "RESOURCE_INDICATORS"
|
|
26
28
|
}
|
|
27
29
|
export declare const unversionedName: (name: string) => string;
|
|
28
30
|
export default function useIsFeatureEnabled(): (feature: Feature) => boolean;
|