@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
17 lines (16 loc) • 636 B
TypeScript
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, token, custom, }: {
action: string;
token?: string;
custom?: Record<string, unknown>;
}): Promise<QrCodeChallengeResponse | ErrorResponse>;
verify({ challengeId, deviceCode, }: {
challengeId: string;
deviceCode: string;
}): Promise<QrCodeVerifyResponse | ErrorResponse>;
}