Skip to content

Commit

Permalink
[feat] introduce new remote user store impl - update endpoint configs
Browse files Browse the repository at this point in the history
  • Loading branch information
JayaShakthi97 committed Nov 19, 2024
1 parent 779540c commit 250c303
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 9 deletions.
10 changes: 6 additions & 4 deletions features/admin.extensions.v1/configs/endpoints.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (c) 2021, WSO2 LLC. (https://www.wso2.com).
* Copyright (c) 2021-2024, WSO2 LLC. (https://www.wso2.com).
*
* WSO2 LLC. licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file except
Expand Down Expand Up @@ -42,12 +42,14 @@ export const getExtendedFeatureResourceEndpoints = (serverHost: string,
inviteEndpoint: `${ serverHost }/api/asgardeo-guest/v1/users/invite`,
inviteLinkEndpoint: "/api/users/v1/offline-invite-link",
notificationSendersEndPoint: `${ serverHost }/api/server/v1/notification-senders`,
onPremUserStoreAgentConnection: `${ serverHost }/api/onprem-userstore/v1/connection`,
onPremUserStoreAgentToken: `${ serverHost }/api/onprem-userstore/v1/token`,
organizationEndpoint: `${ serverHost }/api/asgardeo-enterprise-login/v1/business-user-login/{organization}`,
organizationPatchEndpoint: `${ serverHost }/api/asgardeo-enterprise-login/v1/business-user-login`,
remoteUserStoreAgentConnection: `${ serverHost }/api/remote-userstore/v1/connection`,
remoteUserStoreAgentToken: `${ serverHost }/api/remote-userstore/v1/token`,
resendEndpoint: `${ serverHost }/api/asgardeo-guest/v1/users/invite/{}/resend`,
smsProviderEndpoint: `${ serverHost }/api/server/v1/notification-senders/sms`,
userEndpoint: `${ serverHost }/api/asgardeo-guest/v1/users`,
userStoreAgentConnection: `${ serverHost }/api/onprem-userstore/v1/connection`,
userStoreAgentToken: `${ serverHost }/api/onprem-userstore/v1/token`
userEndpoint: `${ serverHost }/api/asgardeo-guest/v1/users`
};
};
17 changes: 12 additions & 5 deletions features/admin.extensions.v1/configs/models/endpoints.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,21 @@
*/
export interface ExtendedFeatureResourceEndpointsInterface {
/**
* Remote user store agent connection API endpoint.
* On-prem user store agent connection API endpoint.
*/
userStoreAgentConnection: string;
onPremUserStoreAgentConnection: string;
/**
* Remote user store agent token API endpoint.
* On-prem user store agent token API endpoint.
*/
userStoreAgentToken: string;

onPremUserStoreAgentToken: string;
/**
* On-prem user store agent connection API endpoint.
*/
remoteUserStoreAgentConnection: string;
/**
* On-prem user store agent token API endpoint.
*/
remoteUserStoreAgentToken: string;
/**
* Get the resource endpoints for the Invitation Management feature.
*/
Expand Down

0 comments on commit 250c303

Please sign in to comment.