Advertisement
Guest User

Untitled

a guest
Dec 12th, 2017
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.94 KB | None | 0 0
  1. Scope of the task is to replace existing User Service integration with User Service v3 integration.
  2. Job code: 60040433
  3. Interaction with UserService API v3
  4. Link to full documentation:
  5. https://confluence.tcgnws.com/display/SCS/API+Reference+3.0
  6. Key changes:
  7. Only HTTPS endpoint for production – https://hostname
  8. URL must have versioning – https://hostname/v3/
  9. Required headers (see Common Headers section in docs):
  10. Content-Type
  11. Authorization
  12. Username
  13. Hashed password
  14. Password hashing:
  15. All passwords must be hashed with hash length > 256 bits and must be encoded in base64
  16. Per each client we need to create separate “Koinos API” user (in UserService terms – an admin user which can do requests on behalf of a user)
  17. Password hashing (SHA512): base64_encode(crypt($password, '$6$rounds=5$’ . $salt . ‘$'))
  18. Documentation is in knowledge hub:
  19. https://confluence.tcgnws.com/pages/viewpage.action?title=API+Reference+3.0&spaceKey=SCS
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement