1/1/2023 0 Comments Checklist in macdownChecklist in macdown Pc#When performing server authentication, the business side must confirm that there is no need to pass additional ispc parameter for PC authentication, otherwise the authentication will fail. The type of the token obtained through the Web-based authorization is the same with the type of the token obtained by the mobile game authorization. >⑤Game Client closes the Webview plugin, calls the MSDK login interface and passes parameters such as 'code' >④Game Client listens for the request which starts with redirect URI, and intercepts the 'code' parameter in the URI >②Game Client uses the Webview plugin to open QQ/WeChat's Web authorization page The detailed process of Web-based login is as follows: Click QQ platform and WeChat platform to learn details about the oauth authorization process of the two platforms. The Web-based authorization is to authorize login through the oauth protocol of QQ/WeChat platform, in short, through exchanging token with code. The authorization sequence is as follows: >⑩Game Server synchronizes the authentication result to Game Client >⑨Game Server receives the authentication result >⑦Game Client synchronizes the token to Game Server >⑥Game Client listens for MSDKLogin callback Checklist in macdown code#>④Game Client shows the QR code to the user >③Game Client listens for MSDK QR code callback >②Game Client calls MSDK login interface Authorization process 4.1 SDK-based authorization Among directories, the libmsdk directory is the MSDK PC-side native library, the include directory stores the header files needed to access MSDK, the bin directory stores MSDKCore.dll and third-party components that MSDK depends on, and the lib directory stores MSDKCore.lib, the resources directory stores the resource files required by MSDK the libmsdkadapter directory is the bridging layer of Unity, and Unity engine business needs to access it. MSDK no longer provides x86 version but only provides 圆4 version. Apply for redirect URI for website applications.įor Steam platform, it is not needed to apply for any permission right now 3. For details, please refer to the section 8. Games which access web-based authorization need to apply for the redirect URI for authorization callback. Platform permission applicationīecause WeChat platform no longer accepts SDK-based login permission applications from new games, MSDK PC has begun to support Web-based authorized login since version 5.0.0.13 (please refer to the section 4.2 Web-based authorization for the authorization process) while supporting games to log into both QQ & WeChat platforms. The MSDK PC version is a newly developed and adapted version specially for PC platform games to access QQ, WeChat and Steam platforms, so as to facilitate the games to perform authorized login into QQ, WeChat and Steam platforms under Unity/UE4 Editor mode. Apply for redirect URI for website applications
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |