@datalayer/core
Version:
[](https://datalayer.io)
13 lines (12 loc) • 535 B
TypeScript
import { JSONObject } from '@lumino/coreutils';
import { IContact } from './Contact';
import { IIAMProviderName } from './IAMProvidersSpecs';
export declare function asContactIAMProvider(iamProvider: any): IContactIAMProvider;
export declare const getSocialUrl: (iamProviderName: IIAMProviderName, contact?: IContact) => string | undefined;
export type IContactIAMProvider = {
iamProviderName: IIAMProviderName;
linkedAccount: JSONObject;
linkedAccountUrl: string;
linkedAccountId: string;
isConnected: boolean;
};