signInPhone

suspend fun signInPhone(token: String, number: String, regionCode: String): ResourceResult<UserSessionInfo>

Using the token supplied via an SMS message sent to the user, request a session from the server.

Return

ResourceResult

Parameters

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.

number

The phone number (can be formatted in any way that's useful for end users).

regionCode

CLDR two-letter region code describing the region in which the phone number was issued.