UNPKG

@authsignal/browser

Version:

**[Authsignal](https://www.authsignal.com) provides passwordless step up authentication (Multi-factor Authentication - MFA) that can be placed anywhere within your application. Authsignal also provides a no-code fraud risk rules engine to manage when step

14 lines (13 loc) 500 B
import { ApiClientOptions, ErrorResponse } from "./types/shared"; import { PushChallengeResponse, PushVerifyResponse } from "./types/push"; export declare class PushApiClient { tenantId: string; baseUrl: string; constructor({ baseUrl, tenantId }: ApiClientOptions); challenge({ action }: { action: string; }): Promise<PushChallengeResponse | ErrorResponse>; verify({ challengeId }: { challengeId: string; }): Promise<PushVerifyResponse | ErrorResponse>; }