-
Notifications
You must be signed in to change notification settings - Fork 0
Authentication
Celio Grand edited this page Oct 2, 2023
·
3 revisions
The http method is POST
from now on, because only pinging doesn't change the server state.
The AuthSmsSent
request,
type: AuthSmsSent
access: (access token)
refresh: (refresh token)
phone: (phone number)
message: (message token)
Authenticates the user as the owner of phone number
.
Request
type: AuthSessionStart
Response
type: AuthSessionStart
access: (access token)
refresh: (refresh token)
Request
type: AuthSessionRefresh
refresh: (refresh token)
Response
type: AuthSessionRefresh
access: (new access token)
Request
type: AuthSessionEnd
access: (access token)
refresh: (refresh token) <-- optional
Response
type: AuthSessionEnd
Request
type: AuthSmsSendTo
access: (access token)
Response
type: AuthSmsSendTo
phone: (phone number)
message: (message token)
Send SMS message token
to phone number
to verify phone number.
Request
type: AuthSmsSent
access: (access token)
refresh: (refresh token)
phone: (sent to phone number, not user phone number)
message: (message token)
Response
type: AuthSmsSent
uid: (user id)