# generateAuthCode
Brief description
Generate an authentication code for a registered user.
# Parameters
| Name | Summary |
|---|---|
| pinProvider | a callback called from the SDK, when the identity PIN is required. |
| resultHandler | a callback to handle the result of the authentication.
|
| user | the user to authenticate. |
Content
fun generateAuthCode(user: User, pinProvider: PinProvider, resultHandler: ResultHandler<String, MIRACLException>)