@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
20 lines (19 loc) • 588 B
TypeScript
import { PushChallengeResponse, PushVerifyResponse } from "./api/types/push";
import { AuthsignalResponse } from "./types";
type PushOptions = {
baseUrl: string;
tenantId: string;
};
type ChallengeParams = {
action: string;
};
type VerifyParams = {
challengeId: string;
};
export declare class Push {
private api;
constructor({ baseUrl, tenantId }: PushOptions);
challenge({ action }: ChallengeParams): Promise<AuthsignalResponse<PushChallengeResponse>>;
verify({ challengeId }: VerifyParams): Promise<AuthsignalResponse<PushVerifyResponse>>;
}
export {};