UNPKG

341 BTypeScriptView Raw
1import { AuthData } from "@leancloud/adapter-types";
2export declare const getAuthInfo: ({ platform, preferUnionId, asMainAccount, }?: {
3 platform?: string | undefined;
4 preferUnionId?: boolean | undefined;
5 asMainAccount?: boolean | undefined;
6}) => Promise<{
7 authData: AuthData;
8 platform: string;
9 provider: string;
10}>;