authenticateWithNotificationPayload

# authenticateWithNotificationPayload


fun authenticateWithNotificationPayload(payload: Map<String, String>, pinProvider: PinProvider, resultHandler: ResultHandler<Unit, MIRACLException>)

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.
pinProvider a callback called from the SDK, when the identity PIN is required.
resultHandler 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.