{"id":25803167,"url":"https://github.com/flocasts/digest-auth","last_synced_at":"2026-06-13T15:36:08.102Z","repository":{"id":86463030,"uuid":"561943040","full_name":"flocasts/digest-auth","owner":"flocasts","description":"This repo exists to add support for digest authentication when using the Axios HTTP client. Adding support for other HTTP clients is possible as well!","archived":false,"fork":false,"pushed_at":"2025-11-25T18:05:01.000Z","size":94,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":27,"default_branch":"main","last_synced_at":"2025-11-28T23:27:21.771Z","etag":null,"topics":["broadcastchain"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/flocasts.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-11-04T21:20:15.000Z","updated_at":"2025-11-25T18:05:07.000Z","dependencies_parsed_at":"2023-11-17T23:00:39.022Z","dependency_job_id":"bc3ad20d-2654-454e-8a75-6a9a66695492","html_url":"https://github.com/flocasts/digest-auth","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/flocasts/digest-auth","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flocasts%2Fdigest-auth","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flocasts%2Fdigest-auth/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flocasts%2Fdigest-auth/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flocasts%2Fdigest-auth/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/flocasts","download_url":"https://codeload.github.com/flocasts/digest-auth/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flocasts%2Fdigest-auth/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34290346,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-13T02:00:06.617Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["broadcastchain"],"created_at":"2025-02-27T17:44:22.813Z","updated_at":"2026-06-13T15:36:08.071Z","avatar_url":"https://github.com/flocasts.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Digest Authentication\n\nThis repo exists to add support for digest authentication when using the Axios HTTP client.\nAdding support for other HTTP clients is possible as well!\n\n## Installation\n\n```bash\nnpm i @flocasts/digest-auth\n```\n\n## Usage (with Axios)\n\n```typescript\nimport axios from 'axios';\nimport { AxiosDigest } from '@flocasts/digest-auth';\n\nconst axiosDigest = new AxiosDigest('\u003cusername\u003e', '\u003cpasswd\u003e', axios);\n\nconst result = await axiosDigest.get('http://localhost:3000/test');\n```\n\n## Testing\n\nUsing the [concurrently](https://github.com/open-cli-tools/concurrently) package, we are able to spin up a test server to test our digest-auth solution, and close the test server on completion of tests.\nTo test, simply run:\n\n```bash\nnpm run test\n```\n\n## Supported Digest Algorithms\n\nIf the server your request is sent to uses an algorithm not supported, you will receive the error:\n`algorithm '\u003calgorithm\u003e' not supported`\n\n-   [x] MD5\n-   [ ] sha256\n-   [ ] sha512\n\n## Supported HTTP Clients\n\n-   [x] [Axios](https://axios-http.com/docs/intro)\n-   [ ] [NestJs HTTPModule](https://docs.nestjs.com/techniques/http-module)\n-   [ ] [Fetch](https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API/Using_Fetch)\n-   [ ] [Ajax](https://developer.mozilla.org/en-US/docs/Web/Guide/AJAX/Getting_Started)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflocasts%2Fdigest-auth","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fflocasts%2Fdigest-auth","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflocasts%2Fdigest-auth/lists"}