FinishLinkRequest
data class FinishLinkRequest(overwrite: Boolean?, deviceName: String?, sessionId: String?) : SignaldRequestBodyV1<Account>
Content copied to clipboard
After a linking URI has been requested, finish_link must be called with the session_id provided with the URI. it will return information about the new account once the linking process is completed by the other device and the new account is setup. Note that the account setup process can sometimes take some time, if rapid userfeedback is required after scanning, use wait_for_scan first, then finish setup with finish_link.
Constructors
Link copied to clipboard
fun FinishLinkRequest(overwrite: Boolean? = null, deviceName: String? = null, sessionId: String? = null)
Content copied to clipboard
Functions
Link copied to clipboard
open override fun submit(socketCommunicator: SocketCommunicator, id: String): Account
Content copied to clipboard
Link copied to clipboard
suspend fun submitSuspend(socketCommunicator: SuspendSocketCommunicator): Account
Content copied to clipboard
open suspend override fun submitSuspend(socketCommunicator: SuspendSocketCommunicator, id: String): Account
Content copied to clipboard