Type: AuthenticationRequestTwoFactor


Represents two factor authentication information when logging a user into your game.


deviceIdentifier Description The unique device identifier used to remember devices through two factor authentication. You must use a unique value per device here.
Type string
deviceIdentifierFriendlyName Description The friendly name for this device, usually something like the computer's hostname.
Type string
trustThisDevice Description When prompting the user for a two factor code, you should add a checkbox for trusting the current device for 30 days. If the user selected to trust this device, set this value to true.
Type boolean
twoFactorCode Description If your game has been instructed to prompt for a two factor code, include the two factor code when sending the next authentication request.
Type string