interface ChildMethods {
    addToActivity: ((req: object) => Promise<void>);
    completeOTPLogin: ((otp: string) => Promise<void>);
    expandWallet: (() => Promise<void>);
    getAvailableLogins: (() => Promise<Logins[]>);
    getKeySpaceConfigType: (() => Promise<string>);
    getPublicKey: ((email: string, verifier: string) => Promise<string>);
    getReconnectionUrl: (() => Promise<string>);
    getUserInfo: (() => Promise<UserInfo>);
    initOTPLogin: ((email: string) => Promise<string | void>);
    initPasswordlessLogin: ((email: string) => string | {
        sessionId: string;
        setToken: string;
    });
    isLoggedIn: (() => Promise<boolean>);
    isLoginAvailable: ((type: string) => Promise<boolean>);
    logout: (() => Promise<void>);
    sendRequest: ((req: JsonRpcRequest<unknown>, requestOrigin?: string) => Promise<void>);
    triggerBearerLogin: ((type: firebase, data: FirebaseBearer) => Promise<boolean>);
    triggerCustomLogin: ((params: {
        provider: string;
        token: string;
        userID: string;
    }) => Promise<string>);
    triggerLogout: ((isV2?: boolean) => Promise<void>);
    triggerPasswordlessLogin: ((email: string, url: string) => Promise<string>);
    triggerSocialLogin: ((t: string, url: string) => Promise<string>);
    initSocialLogin(kind: string): Promise<string>;
}

Properties

addToActivity: ((req: object) => Promise<void>)
completeOTPLogin: ((otp: string) => Promise<void>)
expandWallet: (() => Promise<void>)
getAvailableLogins: (() => Promise<Logins[]>)
getKeySpaceConfigType: (() => Promise<string>)
getPublicKey: ((email: string, verifier: string) => Promise<string>)
getReconnectionUrl: (() => Promise<string>)
getUserInfo: (() => Promise<UserInfo>)
initOTPLogin: ((email: string) => Promise<string | void>)
initPasswordlessLogin: ((email: string) => string | {
    sessionId: string;
    setToken: string;
})
isLoggedIn: (() => Promise<boolean>)
isLoginAvailable: ((type: string) => Promise<boolean>)
logout: (() => Promise<void>)
sendRequest: ((req: JsonRpcRequest<unknown>, requestOrigin?: string) => Promise<void>)
triggerBearerLogin: ((type: firebase, data: FirebaseBearer) => Promise<boolean>)
triggerCustomLogin: ((params: {
    provider: string;
    token: string;
    userID: string;
}) => Promise<string>)
triggerLogout: ((isV2?: boolean) => Promise<void>)
triggerPasswordlessLogin: ((email: string, url: string) => Promise<string>)
triggerSocialLogin: ((t: string, url: string) => Promise<string>)

Methods

  • Parameters

    • kind: string

    Returns Promise<string>