@wocart/storefront / index / OtpTransport
Interface: OtpTransport
Methods
send()
send(
phone):Promise<OtpTransportResult<OtpSendResult>>
Parameters
phone
string
Returns
Promise<OtpTransportResult<OtpSendResult>>
verify()
verify(
phone,requestId,code):Promise<OtpTransportResult<OtpVerifyResult>>
Parameters
phone
string
requestId
string
code
string
Returns
Promise<OtpTransportResult<OtpVerifyResult>>