Automatic API key registration #10

Open
opened 2011-08-30 23:38:28 +02:00 by sockenklaus · 0 comments
sockenklaus commented 2011-08-30 23:38:28 +02:00 (Migrated from github.com)

According to issue #9:

Offer a way to register an API key automatically:

  • The client requests register.xml?key=abc
  • The server answers:
<register enabled="true">
    <key valid="false" />
</register>
  • The server admin receives an ingame message that asks him whether to accept or deny the request.
  • If he accepts, abc will be written into a whitelist, the possibility to register keys gets disabled and the next answer to register.xml?key=abc will be:
<register enabled="false">
    <key valid="true" />
</register>

This could be used to automatically link a website with the server plugin without editing config files manually.

### According to issue #9: Offer a way to register an API key automatically: - The client requests `register.xml?key=abc` - The server answers: ``` xml <register enabled="true"> <key valid="false" /> </register> ``` - The server admin receives an ingame message that asks him whether to accept or deny the request. - If he accepts, `abc` will be written into a whitelist, the possibility to register keys gets disabled and the next answer to `register.xml?key=abc` will be: ``` xml <register enabled="false"> <key valid="true" /> </register> ``` This could be used to automatically link a website with the server plugin without editing config files manually.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: socrates/XmlStats#10