authenticate With Notification Payload
fun authenticateWithNotificationPayload(payload: Map<String, String>, pinProvider: PinProvider, resultHandler: ResultHandler<Unit, AuthenticationException>)
Authenticate identity in the MIRACL platform.
Use this method to authenticate another device or application with the usage of notification sent by MIRACL platform.
Parameters
payload
key-value data provided by the notification.
pin Provider
a callback called from the SDK, when the identity PIN is required.
result Handler
a callback to handle the result of the authentication.
If successful, the result is MIRACLSuccess.
If an error occurs, the result is MIRACLError with a message. On exception, the exception object is also passed.