Start a push challenge
Start a push challenge by sending a notification to the user’s mobile device.
const response = await authsignal.push.challenge();
Parameters
The action being performed.
Response
response
AuthsignalResponse<PushChallengeResponse>
The ID of the Authsignal challenge. Use this ID to poll for the challenge result.
Check push challenge verification status
const response = await authsignal.push.verify({
challengeId: "3a991a14-690c-492b-a5e5-02b9056a4b7d",
});
Parameters
The ID of the Authsignal challenge returned when starting the push challenge.
Response
response
AuthsignalResponse<PushVerifyResponse>
True if the challenge has been either approved or denied by a user.
True if the challenge has been approved by a user.