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) 554 B
import { ApiClientOptions, ErrorResponse } from "./types/shared"; import { QrCodeChallengeResponse, QrCodeVerifyResponse } from "./types/qr-code"; export declare class QrCodeApiClient { tenantId: string; baseUrl: string; constructor({ baseUrl, tenantId }: ApiClientOptions); challenge({ action }: { action: string; }): Promise<QrCodeChallengeResponse | ErrorResponse>; verify({ challengeId, deviceCode, }: { challengeId: string; deviceCode: string; }): Promise<QrCodeVerifyResponse | ErrorResponse>; }