Skip to content

Player Authentication Reference

Allow your game to authenticate players. Read more explanations about it.

Actions

Display authentication banner
Display an authentication banner at the top of the game screen, for the player to log in.

Hide authentication banner
Hide the authentication banner from the top of the game screen.

Log out the player
Log out the player.

Open authentication window
Open an authentication window for the player to log in.

Conditions

Player has logged in
Check if the player has just logged in.

Authentication window is open
Check if the authentication window is open.

Player is authenticated
Check if the player is authenticated.

Expressions

Expression Description
PlayerAuthentication::UserID() Get the unique user ID of the authenticated player.
PlayerAuthentication::Username() Get the username of the authenticated player.

This page is an auto-generated reference page about the Player Authentication feature of GDevelop, the open-source, cross-platform game engine designed for everyone. Learn more about all GDevelop features here.