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

feat: Add authentication wrapper for checking tokens or signatures #789

Merged
merged 1 commit into from
Sep 23, 2021

Conversation

sandrask
Copy link
Contributor

Add authentication wrapper for checking tokens or signatures

Closes #788

Signed-off-by: Sandra Vrtikapa sandra.vrtikapa@securekey.com

Add authentication wrapper for checking tokens or signatures

Closes trustbloc#788

Signed-off-by: Sandra Vrtikapa <sandra.vrtikapa@securekey.com>
@cla-bot cla-bot bot added the cla-signed label Sep 22, 2021
@codecov
Copy link

codecov bot commented Sep 22, 2021

Codecov Report

Merging #789 (eea2f3e) into main (8820a16) will increase coverage by 0.09%.
The diff coverage is 87.50%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #789      +/-   ##
==========================================
+ Coverage   89.83%   89.93%   +0.09%     
==========================================
  Files         139      140       +1     
  Lines       11795    11888      +93     
==========================================
+ Hits        10596    10691      +95     
  Misses        738      738              
+ Partials      461      459       -2     
Impacted Files Coverage Δ
pkg/httpserver/auth/signature/authwrapper.go 87.50% <87.50%> (ø)
pkg/webfinger/client/client.go 87.50% <0.00%> (-4.81%) ⬇️
cmd/orb-server/startcmd/params.go 80.65% <0.00%> (-0.23%) ⬇️
...ctivitypub/service/activityhandler/inboxhandler.go 87.06% <0.00%> (-0.14%) ⬇️
...g/anchor/handler/acknowlegement/acknowledgement.go 100.00% <0.00%> (ø)
...r/resource/registry/didanchorinfo/didanchorinfo.go 100.00% <0.00%> (ø)
pkg/ldcontextrest/ldcontextrest.go
pkg/discovery/endpoint/restapi/anchorinfo.go 100.00% <0.00%> (ø)
cmd/orb-server/startcmd/start.go 73.78% <0.00%> (+0.25%) ⬆️
... and 3 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 8820a16...eea2f3e. Read the comment docs.

@fqutishat fqutishat merged commit df7d989 into trustbloc:main Sep 23, 2021
@sandrask sandrask linked an issue Oct 12, 2021 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add authentication wrapper for checking tokens or signatures Resolve document from anchor origin
3 participants