approveChallengeNotification
Approve a challenge-based push notification. This method approves the authentication request for the given challenge notification with the provided challenge response.
If the user selected the wrong number in a Push Number Challenge, AM returns HTTP 400 and this method returns Result.failure wrapping a com.pingidentity.mfa.push.exception.PushNumberChallengeException. This is distinct from a generic network or server failure (com.pingidentity.exception.ApiException), allowing callers to surface a user-friendly "wrong number" message or offer a retry.
Return
A Result containing a Boolean indicating success, or a Result.failure with com.pingidentity.mfa.push.exception.PushNumberChallengeException for a wrong number selection, or another exception for generic failures.
Parameters
The ID of the notification to approve.
The challenge response provided by the user.