authenticateWithAppLink

Authenticates an end user on the MIRACL Trust platform.

Use this method to authenticate another device or application using an AppLink created by the MIRACL Trust platform.

Return

A MIRACLResult representing the result of the authentication:

Parameters

user

The user to authenticate.

appLink

The URI provided by the Intent.

pinProvider

A callback called by the SDK when the PIN is requested.


fun authenticateWithAppLink(user: User, appLink: Uri, pinProvider: PinProvider, resultHandler: ResultHandler<Unit, AuthenticationException>)

Authenticates an end user on the MIRACL Trust platform.

Use this method to authenticate another device or application using an AppLink created by the MIRACL Trust platform.

Parameters

user

The user to authenticate.

appLink

The URI provided by the Intent.

pinProvider

A callback called by the SDK when the PIN is requested.

resultHandler

A callback to handle the result of the authentication.

  • If successful, the result is a MIRACLSuccess.

  • If an error occurs, the result is a MIRACLError with an exception describing issues with the operation.