approve
Approves the current mobile push authentication request.
This method 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
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.
the PingOne.PingOneMobileConfirmationCallback to receive completion results or errors from the approval process.
Deprecated
Use approve instead.
Approves a mobile push authentication request.
This method should be called after the user confirms the push notification on their device (for example, by approving via fingerprint, face recognition, or number matching). It reports the authentication result to the PingOne platform.
The authenticationMethod parameter should specify the method used to authenticate the user on the device, as defined in RFC 8176 — Authentication Method Reference (AMR).
Parameters
the application Context.
the authentication method used by the user, for example: "fpt" for fingerprint, "face" for facial recognition, "otp" for one-time passcode, etc.
the number selected by the user during number matching, or null if number matching was not used.
the PingOne.PingOneSDKCallback that will be invoked upon completion of the approval process, providing either success information or an error.