Skip to main content
BETA
HomeIntegration BuilderAPI ReferenceGuidesChangelog
View Mirror World on Github
Join the Discord server

Language:

Authentication Methods | Unity API Reference

The APIs in this module allow users to perform authorization-related operations, such as logging in, logging out, and checking login status.Here is a list of APIs in this functional module.

To use these APIs, you don't need to worry about which chain you are currently on. Simply call the desired API directly. Like MWSDK.StartLogin

  • MWSDK.StartLogin

Users must log in before they can use all the APIs provided by the SDK. This API will trigger a permission verification page to guide users through the login process and return the result.

Calling this API will assign a temporary account to the user for quick login, but this account has limited permissions and cannot perform all operations.

This API will return a boolean value to indicate whether the current user has already logged in. In most cases, developers should call this API before invoking StartLogin to ensure that users are not prompted for unnecessary logins.

Developers can also allow users to log in using their email and password.

Regardless of how the user logged in, calling this API will clear their login information and set their status to logged out.

Edit this page on GitHub

Copyright © Mirror World, Inc. 2023
On this page

    Home

    Integration

    Guides

    API Reference

    Changelog