Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Scope of the task is to replace existing User Service integration with User Service v3 integration.
- Job code: 60040433
- Interaction with UserService API v3
- Link to full documentation:
- https://confluence.tcgnws.com/display/SCS/API+Reference+3.0
- Key changes:
- Only HTTPS endpoint for production – https://hostname
- URL must have versioning – https://hostname/v3/
- Required headers (see Common Headers section in docs):
- Content-Type
- Authorization
- Username
- Hashed password
- Password hashing:
- All passwords must be hashed with hash length > 256 bits and must be encoded in base64
- 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)
- Password hashing (SHA512): base64_encode(crypt($password, '$6$rounds=5$’ . $salt . ‘$'))
- Documentation is in knowledge hub:
- https://confluence.tcgnws.com/pages/viewpage.action?title=API+Reference+3.0&spaceKey=SCS
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement