@keycloak/keycloak-admin-client 22.0.0 → 22.0.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.
|
@@ -5,8 +5,9 @@ export default interface UserProfileConfig {
|
|
|
5
5
|
export interface UserProfileAttribute {
|
|
6
6
|
name?: string;
|
|
7
7
|
validations?: Record<string, Record<string, unknown>>;
|
|
8
|
-
annotations?: Record<string, unknown
|
|
8
|
+
annotations?: Record<string, unknown>;
|
|
9
9
|
required?: UserProfileAttributeRequired;
|
|
10
|
+
readOnly?: boolean;
|
|
10
11
|
permissions?: UserProfileAttributePermissions;
|
|
11
12
|
selector?: UserProfileAttributeSelector;
|
|
12
13
|
displayName?: string;
|
|
@@ -2,6 +2,7 @@ import type UserConsentRepresentation from "./userConsentRepresentation.js";
|
|
|
2
2
|
import type CredentialRepresentation from "./credentialRepresentation.js";
|
|
3
3
|
import type FederatedIdentityRepresentation from "./federatedIdentityRepresentation.js";
|
|
4
4
|
import type { RequiredActionAlias } from "./requiredActionProviderRepresentation.js";
|
|
5
|
+
import type UserProfileConfig from "./userProfileConfig.js";
|
|
5
6
|
export default interface UserRepresentation {
|
|
6
7
|
id?: string;
|
|
7
8
|
createdTimestamp?: number;
|
|
@@ -27,4 +28,5 @@ export default interface UserRepresentation {
|
|
|
27
28
|
realmRoles?: string[];
|
|
28
29
|
self?: string;
|
|
29
30
|
serviceAccountClientId?: string;
|
|
31
|
+
userProfileMetadata?: UserProfileConfig;
|
|
30
32
|
}
|
package/lib/resources/users.d.ts
CHANGED
|
@@ -43,6 +43,7 @@ export declare class Users extends Resource<{
|
|
|
43
43
|
*/
|
|
44
44
|
findOne: (payload?: ({
|
|
45
45
|
id: string;
|
|
46
|
+
userProfileMetadata?: boolean | undefined;
|
|
46
47
|
} & {
|
|
47
48
|
realm?: string | undefined;
|
|
48
49
|
}) | undefined, options?: Pick<import("./agent.js").RequestArgs, "catchNotFound"> | undefined) => Promise<UserRepresentation | undefined>;
|