authenticateWithAppLink

# authenticateWithAppLink


fun authenticateWithAppLink(user: User, appLink: Uri, 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 AppLink created by MIRACL platform.

# Parameters

user the user to authenticate.
appLink a URI provided by the Intent.
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.