Latest Neocron News and Information

  • New test server patch #563 has been released to Vedeena

Difference between revisions of "THNapi:Authentication"

From Neocron Wiki
Jump to: navigation, search
(No point in keeping outdated information)
Line 9: Line 9:
 
! HTTP Header !! Required value
 
! HTTP Header !! Required value
 
|-
 
|-
| X-THN-API-User || Your 40 character API user key
+
| X-THN-API-User || Your 40 character API user ID key
 
|-
 
|-
| X-THN-API-Key || Your 64 character API access key
+
| X-THN-API-Key || Your 64 character API secret key
 
|}
 
|}
  
== Future plans ==
+
= Future plans =
  
 
== Version  4 ==
 
== Version  4 ==
  
 
This is not yet implemented. It is expected to be based on [https://jwt.io/ JSON Web Tokens]
 
This is not yet implemented. It is expected to be based on [https://jwt.io/ JSON Web Tokens]
 
= Discontinued =
 
 
== Version 2 ==
 
 
Authentication information using '''api_user''' and '''api_key''' as query parameters in the URL will be discontinued in the very near future. This is only available on Items DB, Rares DB and Stats DB.
 
 
== Version 1 ==
 
 
This authentication was only supported by the Items DB V1 and is no longer in use.
 

Revision as of 14:52, 12 May 2020

Current API Authentication

Version 3

Sites supporting API Authentication can be accessed by sending the following HTTP headers in your request. Available to the Items DB from April 14th 2020. The Rares DB and Stats DB will support this method in the near future.

HTTP Header Required value
X-THN-API-User Your 40 character API user ID key
X-THN-API-Key Your 64 character API secret key

Future plans

Version 4

This is not yet implemented. It is expected to be based on JSON Web Tokens