I’m working on a way to store all the devices a user has logged in with that they want to log in easily to (not have to type credentials in again every time). For this: a “Remember Me” toggle when they first log in to make sure they’re cool with it. The next time the game loads there’s a button for their account that autofills the credential fields.
Initially I started by creating a new collection called “devices” on the user’s storage. Then I found that the account variable (
var account = await client.GetAccountAsync(session);) has a private list of devices (
My question is: How do I add the current
deviceId to this list? It seems I can reference it, but it’s always blank, even when I’ve logged in to the same device several times.