prysm-pulse/beacon-chain/node
Shay Zluf d77c298ec6
Support authorised access to web 3 providers (#8075)
* jwt access token impl

* use secret or jwt

* rename

* separate method for splitting auth

* usage update

* Update beacon-chain/flags/base.go

Co-authored-by: Radosław Kapka <rkapka@wp.pl>

* Update beacon-chain/node/node.go

Co-authored-by: Radosław Kapka <rkapka@wp.pl>

* make things work

* removed unused code

* better, more flexible authorization

* move types and function to proper packages

* fix checking if endpoint is not set

* fix existing tests

* rename Endpoint field to Url

* Tests for HttpEndpoint

* better bearer auth

* tests for endpoint utils

* fix endpoint registration

* fix test build

* move endpoint parsing to powchain

* Revert "fix existing tests"

This reverts commit ceab192e6a78c106cf4e16a1bdf5399752a39890.

* fix field name in tests

* gzl

* add httputils dependency

* remove httputils dependency

* fix compilation issue in blockchain service test

* correct endpoint fallback function and tests

* gzl

* remove pointer from currHttpEndpoint

* allow whitespace in auth string

* endpoint equality

* correct one auth data Equals test case

* remove pointer receiver

Co-authored-by: Radosław Kapka <rkapka@wp.pl>
Co-authored-by: Raul Jordan <raul@prysmaticlabs.com>
2021-04-15 11:02:02 +00:00
..
registration Create node's Powchain registration file (#8754) 2021-04-14 12:54:50 +02:00
BUILD.bazel Tests for beacon-chain/node/config.go (#8769) 2021-04-15 10:01:50 +00:00
config_test.go Tests for beacon-chain/node/config.go (#8769) 2021-04-15 10:01:50 +00:00
config.go Extract node configuration to separate file (#8744) 2021-04-13 07:04:34 +00:00
log.go Unify the pattern of using a package-level logger (#8245) 2021-01-11 20:03:28 +00:00
node_test.go Create node's Powchain registration file (#8754) 2021-04-14 12:54:50 +02:00
node.go Support authorised access to web 3 providers (#8075) 2021-04-15 11:02:02 +00:00