fun oneTimeCode(callback: ResultCallback<String>): Unit
Requests a one-time authentication code for the current user. The code expires after 30 seconds. This can be used to authenticate from for example a back-end server
callback
- Callback containing the one time code
fun oneTimeCode(serverClientId: String, callback: ResultCallback<String>): Unit
Requests a one-time authentication code for the current user. The code expires after 30 seconds. This can be used to authenticate from a back-end server. Uses a supplied server client id to create the code.