0.0.11 • Published 2 years ago

@planyun/wechat-auth v0.0.11

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

@planyun/wechat-auth

planyun SDK for Wechat Third Party Platforms Oauth2 for Browser

Installing

To install the this package, simply type add or install @planyun/wechat-auth using your favorite package manager:

  • npm install @planyun/wechat-auth
  • yarn add @planyun/wechat-auth
  • pnpm add @planyun/wechat-auth

Getting Started

  const wechatAuth = new WechatAuth({ origin: <origin>, state: <state> })

  // getInfo() will return state info & user info
  console.log(wechatAuth.getInfo())

Feature

  • auto check env.isWechat and user-friendly interaction to obtain user authorization.
  • support PV UV
0.0.11

2 years ago

0.0.10

2 years ago

0.0.9

2 years ago