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>
An unstructured error description present if the SDK call encountered an error.
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>
An unstructured error description present if the SDK call encountered an error.
True if the challenge has been either approved or denied by a user.
True if the challenge has been approved by a user.