Skip to content

Latest commit

 

History

History
12 lines (8 loc) · 503 Bytes

AUTH.md

File metadata and controls

12 lines (8 loc) · 503 Bytes

AUTH

The purpose of sendWeChatAuth is to get auth code and then get information for WeChat login. Getting access_token is not supported in fluwx. For access_token, please visit official documents.

Fluwx fluwx = Fluwx();
fluwx.authBy(which: NormalAuth(scope: 'snsapi_userinfo', state: 'wechat_sdk_demo_test'));

WHY? I think we shall fetch access_token or user info at backend.