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

authorization/API keys? #43

Closed
rlauer6 opened this issue Nov 12, 2023 · 1 comment
Closed

authorization/API keys? #43

rlauer6 opened this issue Nov 12, 2023 · 1 comment
Assignees
Labels

Comments

@rlauer6
Copy link

rlauer6 commented Nov 12, 2023

Maybe I'm missing something in the docs but how do you pass API keys and other parameters defined in the security section?

@castaway
Copy link

$client->on('after_build_tx' => sub {
    my ($client, $tx) = @_;
    $tx->req->headers->authorization('Bearer ' . $key);
});

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants