Difference between revisions of "WebAPI"

From UFO:AI
Line 7: Line 7:
 
=== Authentication ===
 
=== Authentication ===
 
We are using a SimpleMachines API for doing the authentication against the forum user credentials.
 
We are using a SimpleMachines API for doing the authentication against the forum user credentials.
 +
 +
== Client ==
 +
The client side code is located in {{path|src/client/web/}}. There are some console commands available for the file managment. They are all prefixed by ''web_'' (as well as the available [[cvars]]).
  
 
[[Category:Coding]]
 
[[Category:Coding]]
 
[[Category:Contribute]]
 
[[Category:Contribute]]

Revision as of 18:53, 1 January 2014

General

The game allows players to share there data with other players or just backup there savegames and teams. For this to work, they need a forum account and log into it from within the game.

Webserver

The current implementation of the server side is written in php and is located in src/tools/webapi/.

Authentication

We are using a SimpleMachines API for doing the authentication against the forum user credentials.

Client

The client side code is located in src/client/web/. There are some console commands available for the file managment. They are all prefixed by web_ (as well as the available cvars).