FinishLinkRequest

data class FinishLinkRequest(deviceName: String?, sessionId: String?) : SignaldRequestBodyV1<FinishLink, Account>

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.

Constructors

FinishLinkRequest
Link copied to clipboard
common
fun FinishLinkRequest(deviceName: String? = null, sessionId: String? = null)

Functions

getTypedResponseOrNull
Link copied to clipboard
common
open override fun getTypedResponseOrNull(responseWrapper: JsonMessageWrapper<*>): Account?
A function to resolve the response body by verifying the type of the response and returning a non-null value iff the wrapper and data is the right type.
submit
Link copied to clipboard
common
fun submit(socketCommunicator: SocketCommunicator): Account

Properties

deviceName
Link copied to clipboard
common
val deviceName: String? = null
id
Link copied to clipboard
common
val id: String
The id to include in the request.
sessionId
Link copied to clipboard
common
val sessionId: String? = null
version
Link copied to clipboard
common
val version: String
The version to include in the request.