You are currently viewing content for use with Unreal Engine software. See all AWS GameKit documentation
Identity and authentication callable actions
The AWS GameKit API provides the following actions for the identity and authentication game feature. After deploying AWS resources for the identity and authentication backend, your game frontend can use these calls to communicate with the backend.
-
Register()
Takes in a player’s username, email address, and password to create a new player ID. After registering, players can use this information to log in to the game. -
ConfirmRegistration
Verifies the registration confirmation code. When registering a new player ID with an email address, the player receives a verification email with a confirmation code, which they must enter into a game UI. This action verifies the entered code. -
ResendConfirmationCode()
Allows player to request a fresh confirmation code to verify their email address. Confirmation codes are short-lived. -
Login()
Signs the player into the game with their registered username and password. -
GetFederatedLoginUrl()
Retrieves the URL of an external identity provider, such as Facebook, where the player can log in to their account. When this action is called for a player the first time, AWS GameKit registers the player and generates a new player ID. -
GetUser()
Retrieves user information for a currently logged in player. This includes the players unique ID. -
Logout()
Signs the player out of the game. -
ForgotPassword()
For players who registered with an email/password, this action triggers a password recovery workflow. -
ConfirmForgotPassword()
Verifies a confirmation code that allows a player to change their password. This is part of the password recovery workflow.