approve Suspend
Approves the current mobile push authentication request (suspend version).
This suspend function should be invoked after the user approves the push notification on their device (for example, using fingerprint, face recognition, or number matching). It reports the authentication result back to the PingOne platform.
The authenticationMethod parameter identifies the method used to authenticate the user, as defined in RFC 8176 — Authentication Method Reference (AMR). Examples include:
fpt — Fingerprint
face — Facial recognition
otp — One-time passcode
Return
a JsonObject containing confirmation information, or null.
Parameters
the application Context.
the authentication method used on the device.
the number selected by the user during number matching, or null if number matching was not used.
Throws
if the approval process fails.