UNPKG

@arc-publishing/sdk-identity

Version:
9 lines (8 loc) 375 B
import { APIErrorResponse } from '../serviceHelpers/APIErrorResponse'; import { UserIdentity } from './userIdentity'; export default function login(userName: string, password: string, options?: { rememberMe?: boolean; recaptchaToken?: string; cookie?: boolean; }): Promise<APIErrorResponse | UserIdentity>; export declare function isLoggedIn(): Promise<boolean>;