Thank you for your interest in contributing to this project! Whether you're fixing a bug, adding a feature, improving documentation, or reporting an issue — your help is appreciated.
- How to contribute
- Issue reporting
- Pull request guidelines
- Development setup
- Commit message convention
- Code style and conventions
- License
There are several ways to contribute:
- 🐛 Report a bug
- ✨ Propose or implement a feature
- 📝 Improve documentation
- 🔧 Refactor or optimize existing code
- ✅ Add tests or improve coverage
If you've encountered a bug or unexpected behavior:
- Search existing issues to avoid duplicates.
- If none exists, open a new issue with:
- Steps to reproduce
- Expected behavior
- Environment (.NET version, OS, etc.)
- Error logs or test case (if available)
Clear, reproducible issues help us fix things faster.
To contribute code:
- Fork the repository
- Create a new branch:
git checkout -b feature/my-feature
- Write your code and tests
- Run tests locally:
dotnet test - Commit using Conventional Commits (see below)
- Push to your fork and open a PR against
main
- ✅ Your code builds and tests pass
- ✅ Follows the coding style (see below)
- ✅ If you add functionality, include corresponding tests
- ✅ Commit messages follow Conventional Commits
- ✅ Reference related issues in the PR (e.g.,
Fixes #12)
You need:
- .NET SDK 8.0+
- (Optionally) .NET SDK 9.0
- Git, an IDE (like Visual Studio or VS Code), and NuGet
Clone the repository:
git clone https://github.com/thenoobsbr/RestSharp.Authenticators.Digest.git
cd RestSharp.Authenticators.DigestRun tests:
dotnet testThis project follows the Conventional Commits specification.
<type>(<scope>): <description>
[optional body]
[optional footer(s)]
| Type | Description |
|---|---|
feat |
A new feature |
fix |
A bug fix |
docs |
Documentation only changes |
style |
Changes that do not affect the meaning of the code (formatting, semicolons, etc.) |
refactor |
A code change that neither fixes a bug nor adds a feature |
perf |
A code change that improves performance |
test |
Adding missing tests or correcting existing tests |
build |
Changes that affect the build system or external dependencies |
ci |
Changes to CI configuration files and scripts |
chore |
Other changes that don't modify src or test files |
feat(auth): add CancellationToken support to Authenticate method
fix(header): handle unquoted qop values in WWW-Authenticate header
test(integration): add tests for wrong credentials scenario
docs: update CONTRIBUTING with conventional commits
build(deps): upgrade RestSharp to 114.0.0
Append ! after the type/scope or add a BREAKING CHANGE: footer:
feat(auth)!: require CancellationToken in IAuthenticator.Authenticate
BREAKING CHANGE: Authenticate method signature now includes CancellationToken parameter.
- Prefer
async/awaitoverTask.Resultor.Wait() - Use explicit access modifiers (
public,private, etc.) - Tests follow the
Given_When_Thenpattern where appropriate
We recommend enabling automatic formatting with:
dotnet formatBy contributing, you agree that your code will be licensed under the MIT License.