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

15 lines (14 loc) 520 B
import { ApiClientOptions, ChallengeResponse, ErrorResponse, VerifyResponse } from "./types/shared"; export declare class WhatsappApiClient { tenantId: string; baseUrl: string; onTokenExpired?: () => void; constructor({ baseUrl, tenantId, onTokenExpired }: ApiClientOptions); challenge({ token }: { token: string; }): Promise<ChallengeResponse | ErrorResponse>; verify({ token, code }: { token: string; code: string; }): Promise<VerifyResponse | ErrorResponse>; }