@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
21 lines (20 loc) • 641 B
TypeScript
import { QrCodeChallengeResponse, QrCodeVerifyResponse } from "./api/types/qr-code";
import { AuthsignalResponse } from "./types";
type QrCodeOptions = {
baseUrl: string;
tenantId: string;
};
type ChallengeParams = {
action: string;
};
type VerifyParams = {
challengeId: string;
deviceCode: string;
};
export declare class QrCode {
private api;
constructor({ baseUrl, tenantId }: QrCodeOptions);
challenge({ action }: ChallengeParams): Promise<AuthsignalResponse<QrCodeChallengeResponse>>;
verify({ challengeId, deviceCode }: VerifyParams): Promise<AuthsignalResponse<QrCodeVerifyResponse>>;
}
export {};