From b70997555ece6f0749934ac0f018dfb01c49dcb4 Mon Sep 17 00:00:00 2001 From: AnuradhaSK Date: Sun, 5 Jan 2025 23:21:31 +0530 Subject: [PATCH] add sharedProfileValueResolvingMethod as first class attribute in local claim mgt API --- .../restapis/claim-management.yaml | 8 ++++++++ .../apis/restapis/attribute-management.yaml | 18 +++++++++++++++++- .../organization-apis/restapis/claim-mgt.yaml | 8 ++++++++ .../docs/apis/restapis/claim-management.yaml | 16 ++++++++++++++++ 4 files changed, 49 insertions(+), 1 deletion(-) diff --git a/en/asgardeo/docs/apis/organization-apis/restapis/claim-management.yaml b/en/asgardeo/docs/apis/organization-apis/restapis/claim-management.yaml index d1d7d67ef4..3fa57c9b68 100644 --- a/en/asgardeo/docs/apis/organization-apis/restapis/claim-management.yaml +++ b/en/asgardeo/docs/apis/organization-apis/restapis/claim-management.yaml @@ -452,6 +452,14 @@ components: - WITHIN_USERSTORE - ACROSS_USERSTORES example: "NONE" + sharedProfileValueResolvingMethod: + type: string + description: Specifies claim value resolving method for shared user profile. + enum: + - FromOrigin + - FromSharedProfile + - FromFirstFoundInHierarchy + example: "FromOrigin" attributeMapping: type: array description: Userstore attribute mappings. diff --git a/en/asgardeo/docs/apis/restapis/attribute-management.yaml b/en/asgardeo/docs/apis/restapis/attribute-management.yaml index b176b04998..6970bd6598 100644 --- a/en/asgardeo/docs/apis/restapis/attribute-management.yaml +++ b/en/asgardeo/docs/apis/restapis/attribute-management.yaml @@ -1080,6 +1080,14 @@ components: description: Specifies if the claim will be prompted during user registration and displayed on the user profile. example: true + sharedProfileValueResolvingMethod: + type: string + description: Specifies claim value resolving method for shared user profile. + enum: + - FromOrigin + - FromSharedProfile + - FromFirstFoundInHierarchy + example: "FromOrigin" attributeMapping: type: array description: Userstore attribute mappings. @@ -1136,6 +1144,14 @@ components: description: Specifies if the claim will be prompted during user registration and displayed on the user profile. example: true + sharedProfileValueResolvingMethod: + type: string + description: Specifies claim value resolving method for shared user profile. + enum: + - FromOrigin + - FromSharedProfile + - FromFirstFoundInHierarchy + example: "FromOrigin" attributeMapping: type: array description: Userstore attribute mappings. @@ -1398,4 +1414,4 @@ components: authorizationCode: authorizationUrl: 'https://api.asgardeo.io/t/{organization-name}/oauth2/authorize' tokenUrl: 'https://api.asgardeo.io/t/{organization-name}/oauth2/token' - scopes: {} \ No newline at end of file + scopes: {} diff --git a/en/identity-server/next/docs/apis/organization-apis/restapis/claim-mgt.yaml b/en/identity-server/next/docs/apis/organization-apis/restapis/claim-mgt.yaml index 7d0bfac832..896f991fa9 100644 --- a/en/identity-server/next/docs/apis/organization-apis/restapis/claim-mgt.yaml +++ b/en/identity-server/next/docs/apis/organization-apis/restapis/claim-mgt.yaml @@ -456,6 +456,14 @@ components: - WITHIN_USERSTORE - ACROSS_USERSTORES example: "NONE" + sharedProfileValueResolvingMethod: + type: string + description: Specifies claim value resolving method for shared user profile. + enum: + - FromOrigin + - FromSharedProfile + - FromFirstFoundInHierarchy + example: "FromOrigin" attributeMapping: type: array description: Userstore attribute mappings. diff --git a/en/identity-server/next/docs/apis/restapis/claim-management.yaml b/en/identity-server/next/docs/apis/restapis/claim-management.yaml index 1e9fdf055f..542ff39d70 100644 --- a/en/identity-server/next/docs/apis/restapis/claim-management.yaml +++ b/en/identity-server/next/docs/apis/restapis/claim-management.yaml @@ -1110,6 +1110,14 @@ components: - WITHIN_USERSTORE - ACROSS_USERSTORES example: "NONE" + sharedProfileValueResolvingMethod: + type: string + description: Specifies claim value resolving method for shared user profile. + enum: + - FromOrigin + - FromSharedProfile + - FromFirstFoundInHierarchy + example: "FromOrigin" attributeMapping: type: array description: Userstore attribute mappings. @@ -1174,6 +1182,14 @@ components: - WITHIN_USERSTORE - ACROSS_USERSTORES example: "NONE" + sharedProfileValueResolvingMethod: + type: string + description: Specifies claim value resolving method for shared user profile. + enum: + - FromOrigin + - FromSharedProfile + - FromFirstFoundInHierarchy + example: "FromOrigin" attributeMapping: type: array description: Userstore attribute mappings.