Overview
The login method serves as a means to authenticate users with specific login credentials. Users can be authenticated through the use of a principal name and password, or by utilizing third-party social authentication methods. The authentication process ensures that only the entity providing correct login information and successfully authenticated credentials will be returned, along with any applicable requested properties.
Authentication Options
VNGGamesSDK offers three distinct login methods, each designed for different business requirements.
Show login form
This lets your game show the login form whenever it needs to, allowing users to pick their preferred login method—either email and password or third-party login.
Auto login
The login form appears the first time a user opens the app and logs in. Afterward, the SDK auto-logs them in using their last chosen channel.
Direct login
Use this method if your game cannot use VNG's login form or if you need to create your own login form. It connects directly to the login channel your game wants to use.
Quick login
VNGGames SDK’s Quick Authentication boosts conversion rates by letting players enter the game instantly without a login form. Players can bind their guest account or re-login later, with developers controlling the UI for a seamless experience.