# authenticate
fun authenticate(user: User, pinProvider: PinProvider, resultHandler: ResultHandler<String, MIRACLException>)
Generate an authentication code for a registered user.
Use this method to authenticate from your application. This method generates so called authCode, which needs to be sent to a server for verification. When verification is finished authentication is successful.
# Parameters
user | the user to authenticate. |
pinProvider | a callback called from the SDK, when the identity PIN is required. |
resultHandler | a callback to handle the result of the authentication.
|