authenticateCrossDeviceSession

Authenticates an end user on the MIRACL Trust platform.

Use this method to authenticate another device or application using CrossDeviceSession.

Return

A MIRACLResult representing the result of the authentication:

Parameters

crossDeviceSession

The details for the authentication operation.

user

The user to authenticate.

pinProvider

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


fun authenticateCrossDeviceSession(crossDeviceSession: CrossDeviceSession, user: User, 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 CrossDeviceSession.

Parameters

crossDeviceSession

The details for the authentication operation.

user

The user to authenticate with.

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.