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

Add option for HTTP basic auth #16

Merged
merged 2 commits into from
Jul 13, 2022

Conversation

martin-helmich
Copy link
Member

This PR add the option to configure HTTP basic auth (for cases when the PowerDNS API is hidden behind some non-standard authentication gateway).

It can be used with the pdns.WithBasicAuthentication("username", "password") client option.

pdnshttp/auth_basic.go Show resolved Hide resolved
pdnshttp/auth_basic.go Show resolved Hide resolved
pdnshttp/auth_basic.go Show resolved Hide resolved
@codeclimate
Copy link

codeclimate bot commented Jul 13, 2022

Code Climate has analyzed commit f441560 and detected 3 issues on this pull request.

Here's the issue category breakdown:

Category Count
Style 3

View more on Code Climate.

@martin-helmich martin-helmich marked this pull request as ready for review July 13, 2022 09:53
@hensur hensur merged commit bb2c46f into mittwald:master Jul 13, 2022
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