/** * Copyright (c) 2025, 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 * in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, * software distributed under the License is distributed on an * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY * KIND, either express or implied. See the License for the * specific language governing permissions and limitations * under the License. */ import { FederatedAssociation, GetMeFederatedAssociationsConfig as BaseGetMeFederatedAssociationsConfig } from '@asgardeo/browser'; /** * Configuration for the React `getMeFederatedAssociations` request. */ export interface GetMeFederatedAssociationsConfig extends Omit { /** * Optional custom fetcher function. If not provided, the Asgardeo SPA client's httpClient will be used. */ fetcher?: (url: string, config: RequestInit) => Promise; /** * Optional instance ID for multi-instance support. Defaults to 0. */ instanceId?: number; } /** * Retrieves the identity provider accounts linked to the signed-in user, using the SPA client so the * request carries the user's access token. */ declare const getMeFederatedAssociations: ({ fetcher, instanceId, ...requestConfig }: GetMeFederatedAssociationsConfig) => Promise; export default getMeFederatedAssociations; //# sourceMappingURL=getMeFederatedAssociations.d.ts.map