|
Enfusion Script API
|
This API is used for linking user Game Identity with his Bohemia Account. More...
Static Public Member Functions | |
| static proto void | Link (notnull BackendCallback callback, string email, string password, string twoFactorToken) |
| Will request link of Bohemia Account with current GameIdentity of client. | |
| static proto void | Unlink (notnull BackendCallback callback) |
| Will request unlink of Bohemia Account from current Game Identity of client. | |
| static proto int | GetSecondsUntilAccountUnlockTime () |
| Returns remaining time in seconds until locked account from last attempt is unlocked. | |
| static proto bool | IsLinked () |
| Returns true if current Game Identity of client is already linked with Bohemia Account. | |
| static proto string | GetEmail () |
| Returns email of linked Bohemia Account. | |
| static proto string | GetName () |
| Returns username of linked Bohemia Account. | |
This API is used for linking user Game Identity with his Bohemia Account.
Bohemia Account can be linked only to one GameIdentity at once. Attempts to link with additional GameIdentity will result in failure.
|
static |
Returns email of linked Bohemia Account.
|
static |
Returns username of linked Bohemia Account.
|
static |
Returns remaining time in seconds until locked account from last attempt is unlocked.
Will reset if there is attempt to link with different account or if links returns different error than account locked.
|
static |
Returns true if current Game Identity of client is already linked with Bohemia Account.
|
static |
Will request link of Bohemia Account with current GameIdentity of client.
| callback | callback where you will receive result when request finishes. |
| email address of Bohemia Account. | |
| password | password of Bohemia Account. |
| twoFactorToken | token for two-factor-authentication. Can be left empty since it is required only if link fails with EApiCode.EACODE_ERROR_USER_MISSING_2FA. |
|
static |
Will request unlink of Bohemia Account from current Game Identity of client.