Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove parameter fullBearerToken #238

Merged
merged 1 commit into from
Aug 19, 2024
Merged

Conversation

tatiana-nspcc
Copy link
Contributor

Related to #236 and to the comment nspcc-dev/panel-fs-neo-org#217 (comment)

Copy link

codecov bot commented Aug 18, 2024

Codecov Report

Attention: Patch coverage is 0% with 25 lines in your changes missing coverage. Please review.

Project coverage is 22.12%. Comparing base (a4827bb) to head (81f29af).
Report is 3 commits behind head on master.

Files Patch % Lines
handlers/objects.go 0.00% 15 Missing ⚠️
handlers/newObjects.go 0.00% 9 Missing ⚠️
handlers/auth.go 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #238      +/-   ##
==========================================
+ Coverage   21.88%   22.12%   +0.24%     
==========================================
  Files          17       17              
  Lines        3583     3507      -76     
==========================================
- Hits          784      776       -8     
+ Misses       2639     2579      -60     
+ Partials      160      152       -8     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@roman-khimov roman-khimov added this to the v0.11.0 milestone Aug 18, 2024
@roman-khimov
Copy link
Member

Rebase, please.

This parameter indicates that a binary bearer token was requested via the
`/auth/bearer` request and is being used instead of wallet connect. However,
it's not difficult to detect this without the `fullBearer` parameter. If the
`X-Bearer-Signature` and `X-Bearer-Signature-Key` are absent in the request
header, we can assume that the received token is `fullBearer`.

Signed-off-by: Tatiana Nesterenko <[email protected]>
@tatiana-nspcc tatiana-nspcc force-pushed the remove-param-full-bearer branch from 749c40d to 81f29af Compare August 18, 2024 21:22
@tatiana-nspcc
Copy link
Contributor Author

Rebased to a current master state.

@tatiana-nspcc tatiana-nspcc marked this pull request as ready for review August 19, 2024 08:05
@roman-khimov roman-khimov merged commit eddc7d7 into master Aug 19, 2024
13 of 14 checks passed
@roman-khimov roman-khimov deleted the remove-param-full-bearer branch August 19, 2024 20:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants