Account validation detection

As described in Asmodee.net main documentation you may want to restrict access of some features, to players with validated accounts. It is important to drive the users into their account validation as their account will expire within 7 days if they don’t validate it.

We provide the following service:

ValidatedAccountPopUp.CheckRequiredValidatedAccount((validated) =>
{
        if (validated)
        {
                /* go online */
        }
});

This service should be called after the SSO authentication flow, and before trying to access Scalable Server features (online games, lobby, connected players …).

If the player’s account is not validated, the following panels appear:

_images/accountvalidation_1.png _images/accountvalidation_2.png