Skip to content

Commit

Permalink
handlers/object: add wallet auth for object upload
Browse files Browse the repository at this point in the history
The same as the previous commit, but for POST requests for object upload.
Header parameters `X-Bearer-Signature`, `X-Bearer-Signature-Key`, and query
parameters `walletConnect`, `fullBearer` were added to the new POST object
requests `/objects/{cid}`.
This ensures consistency of the requests using the new API, as the deprecated
requests use an authorization scheme with wallet connect.

Signed-off-by: Tatiana Nesterenko <[email protected]>
  • Loading branch information
tatiana-nspcc committed Aug 14, 2024
1 parent 43953a2 commit a549dfd
Show file tree
Hide file tree
Showing 3 changed files with 217 additions and 151 deletions.
Loading

0 comments on commit a549dfd

Please sign in to comment.