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

Added authorization header to RpcClient #24

Merged
merged 5 commits into from
Nov 29, 2023
Merged

Conversation

RomanovSci
Copy link
Member

No description provided.

Roman Bylbas added 2 commits November 28, 2023 16:45
Signed-off-by: Roman Bylbas <[email protected]>
@RomanovSci RomanovSci requested a review from ihor November 28, 2023 14:48
private ?string $lastApiVersion = null;

public function __construct(string $nodeUrl)
public function __construct(string $nodeUrl, string $bearerToken = null)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's make it accept additional headers instead of the specific one. I'm not sure if we accept it as Authorization: Bearer <token>, and not as Authorization: <token>

Roman Bylbas added 2 commits November 29, 2023 11:49
@RomanovSci RomanovSci merged commit 729833b into master Nov 29, 2023
2 checks passed
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.

2 participants