PhoneSignin

@Serializable
data class PhoneSignin(val appId: String, val phone: Phone, val token: String, val type: String? = null)

Using a token supplied in an SMS message authenticate with the server. The token remains valid, once sent, for 5 minutes.

Parameters

appId

The identifier of the participant's app.

phone
token

The token that was sent to the user via SMS, that needs to be entered into the application so it can be sent back to authenticate.

type

PhoneSignIn

Constructors

Link copied to clipboard
constructor(appId: String, phone: Phone, token: String, type: String? = null)

Properties

Link copied to clipboard
@SerialName(value = "appId")
val appId: String
Link copied to clipboard
@SerialName(value = "phone")
val phone: Phone
Link copied to clipboard
@SerialName(value = "token")
val token: String
Link copied to clipboard
@SerialName(value = "type")
val type: String? = null