approveNotification

suspend fun approveNotification(context: Context, authenticationMethod: String, numberChallenge: Int? = null): Result<Unit>

Approves this push authentication request.

Parameters

context

Android context — use applicationContext when calling from a service.

authenticationMethod

The authentication method string sent to PingOne (e.g. "app").

numberChallenge

The number selected by the user for a PushType.CHALLENGE push, or null for a PushType.DEFAULT push.