plugeth/node
protolambda 90711efb0a
node, rpc: add JWT auth support in client (#24911)
This adds a generic mechanism for 'dial options' in the RPC client,
and also implements a specific dial option for the JWT authentication
mechanism used by the engine API. Some real tests for the server-side
authentication handling are also added.

Co-authored-by: Joshua Gutow <jgutow@optimism.io>
Co-authored-by: Felix Lange <fjl@twurst.com>
2022-09-02 17:40:41 +02:00
..
api_test.go all: remove concept of public/private API definitions (#25053) 2022-06-21 12:05:43 +03:00
api.go all: remove version field from rpc.API 2022-06-27 12:39:46 +02:00
config_test.go node: remove noop path.Join (#25475) 2022-08-04 10:42:03 +03:00
config.go node, rpc: add JWT auth support in client (#24911) 2022-09-02 17:40:41 +02:00
defaults.go core: eth: implement Kiln-v2 spec (#24506) 2022-03-17 17:20:03 +02:00
doc.go node: refactor package node (#21105) 2020-08-03 19:40:46 +02:00
endpoints.go node, rpc: add ReadHeaderTimeout config option (#25338) 2022-08-03 16:50:12 +02:00
errors.go node: refactor package node (#21105) 2020-08-03 19:40:46 +02:00
jwt_auth.go node, rpc: add JWT auth support in client (#24911) 2022-09-02 17:40:41 +02:00
jwt_handler.go node: change JWT error status to 401 Unauthorized (#25629) 2022-08-30 15:25:02 +02:00
lifecycle.go node: refactor package node (#21105) 2020-08-03 19:40:46 +02:00
node_auth_test.go node, rpc: add JWT auth support in client (#24911) 2022-09-02 17:40:41 +02:00
node_example_test.go node: refactor package node (#21105) 2020-08-03 19:40:46 +02:00
node_test.go all: add whitespace linter (#25312) 2022-07-25 13:14:03 +03:00
node.go node, rpc: add JWT auth support in client (#24911) 2022-09-02 17:40:41 +02:00
rpcstack_test.go node: fix regression in TestJWT (#25635) 2022-08-30 16:41:09 +02:00
rpcstack.go node, rpc: add ReadHeaderTimeout config option (#25338) 2022-08-03 16:50:12 +02:00
utils_test.go all: remove version field from rpc.API 2022-06-27 12:39:46 +02:00