Kongregate Developers


Note: This is a deprecated function and should no longer be used. To increase registration rates, please use showRegistrationBox() instead.

Showing the sign-in box

If the player is a guest, and you want to display the sign-in/registration UI to them (for example, if you want to upsell them to buy an item or you want to use the authentication API), you can use the showSignInBox function:

showSignInBox():void
if(kongregate.services.isGuest()){
  kongregate.services.showSignInBox();
}

You can read the section on handling guests for more information on how to tell when a user completes registration or signing in.

Comments