ELifeRPG/Core

Refactor api to comply with Arma Reforger requirements

Closed this issue · 2 comments

SessionRequestDto

  • Bohemia-Id is of type GUID -> Replace SteamId (long) with BohemiaId (GUID)

SessionDto

  • Return AccountId (SessionRequestDto)
  • Return AccountStatus (Locked, Active, ...)

Steam is currently the only supported OpenID provider - so we might extend this with Discord later on, which also provides us with some features in future.

The main issue is how to link the Bohemia ID with the Web-Application because some hosters might be interested in whitelisting players before they can play on the server. Means: players would have to signin into the Web-Application first to go through the whitelisting process.

I think about a temporary pin-code which can be initiated within the Web-Application to enter this one ingame when logging in. Question is if we want to opt-in this feature. We could also use it permanently with tester whitelisting.

Usage of Bohemia ID (GUID) is now implemented.