authy-client:完整的Authy客户端,支持TOTP,OneTouch,电话验证和电话智能API

时间:2021-05-17 08:42:09
【文件属性】:
文件名称:authy-client:完整的Authy客户端,支持TOTP,OneTouch,电话验证和电话智能API
文件大小:10.57MB
文件格式:ZIP
更新时间:2021-05-17 08:42:09
otp api-client mfa authy phone-verification 真实客户 完整的Authy客户端,支持TOTP,OneTouch,电话验证和电话智能API。 地位 安装 通过yarn安装包装: yarn add authy-client 或通过npm : npm install authy-client --save 用法 客户 以下是使用此软件包提供的三种可能的异步API中的任何一种来注册用户并请求SMS的完整示例。 使用等待/异步(需要babel ) import { Client } from 'authy-client' ; const client = new Client ( { key : 'foo' } ) ; ( async function ( ) { const { user : { id : authyId } } = await client . registerUser ( { countryCode

网友评论