{"id":20532608,"url":"https://github.com/cimpress-mcp/tiger-challenge","last_synced_at":"2025-09-25T14:31:21.297Z","repository":{"id":22200574,"uuid":"95579387","full_name":"Cimpress-MCP/Tiger-Challenge","owner":"Cimpress-MCP","description":"A parser of WWW-Authenticate challenge headers.","archived":false,"fork":false,"pushed_at":"2022-03-30T20:39:24.000Z","size":134,"stargazers_count":0,"open_issues_count":0,"forks_count":2,"subscribers_count":5,"default_branch":"develop","last_synced_at":"2024-12-17T20:22:51.220Z","etag":null,"topics":["bearer","challenge","oauth2","parser","www-authenticate"],"latest_commit_sha":null,"homepage":null,"language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Cimpress-MCP.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-06-27T16:34:43.000Z","updated_at":"2022-03-30T20:30:42.000Z","dependencies_parsed_at":"2022-07-27T03:02:01.916Z","dependency_job_id":null,"html_url":"https://github.com/Cimpress-MCP/Tiger-Challenge","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Cimpress-MCP%2FTiger-Challenge","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Cimpress-MCP%2FTiger-Challenge/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Cimpress-MCP%2FTiger-Challenge/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Cimpress-MCP%2FTiger-Challenge/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Cimpress-MCP","download_url":"https://codeload.github.com/Cimpress-MCP/Tiger-Challenge/tar.gz/refs/heads/develop","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":234203992,"owners_count":18795820,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["bearer","challenge","oauth2","parser","www-authenticate"],"created_at":"2024-11-16T00:15:56.754Z","updated_at":"2025-09-25T14:31:20.893Z","avatar_url":"https://github.com/Cimpress-MCP.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Tiger.Challenge\n\n## What It Is\n\nTiger.Challenge is a library for parsing `WWW-Authenticate` authentication challenges.\n\n## Why You Want It\n\nThe challenge portion of the HTTP header `WWW-Authenticate` is tricky to parse. A naïve solution using regular expressions can suffice for many situations, but falls down in the face of some of the more complex features of the header's grammar. These include, but are not limited to:\n\n- Ability to express parameters in any order.\n- Optional wrapping in double-quotes of parameter values.\n- A whitelisted character range for parameter keys and values.\n- A totally different whitelisted character range for \"scope\" values.\n- Optional (though officially \"bad\") whitespace surrounding the \"=\" key–value separator.\n  - Unless it's escaped.\n    - But only before the \"=\", not after.\n      - But only *then* if the value is wrapped in double-quotes.\n        - Unless those themselves are escaped.\n\nFor this kind of parsing, an actual parser is required.\n\nThe grammar of the `WWW-Authenticate` header is specified in [RFC217](https://tools.ietf.org/html/rfc2617), which also establishes the challenge types Basic (\"Basic\") and Digest Access (\"Digest\"). It is described in ABNF, referencing other RFCs for smaller parsable structures, such as allowed values in HTTP headers or the structure of a URI. Other specifications specify other challenge types, such as [RFC6750](https://tools.ietf.org/html/rfc6750), which specifies Bearer Token (\"Bearer\").\n\n\u003c!--\n### Hey, What about Other Challenge Types???\n\nNo one's asked for them yet. We standardized on \"Bearer\" here at Cimpress, so that's all that's needed for now. \"Basic\" and \"Digest\" should be easy enough to implement, if it comes down to it.\n--\u003e\n\n## How You Develop It\n\nThis project is using the standard [`dotnet`](https://dot.net) build tool. A brief primer:\n\n- Restore NuGet dependencies: `dotnet restore`\n- Build the entire solution: `dotnet build`\n- Run all unit tests: `dotnet test`\n- Pack for publishing: `dotnet pack -o \"$(pwd)/dist/\"`\n\nThe parameter `--configuration` (shortname `-c`) can be supplied to the `build`, `test`, and `pack` steps with the following meaningful values:\n\n- “Debug” (the default)\n- “Release”\n\nThis repository is attempting to use the [GitFlow](http://jeffkreeftmeijer.com/2010/why-arent-you-using-git-flow/) branching methodology. Results may be mixed, please be aware.\n\n## Thank You\n\nSeriously, though. Thank you for using this software. The author hopes it performs admirably for you.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcimpress-mcp%2Ftiger-challenge","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcimpress-mcp%2Ftiger-challenge","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcimpress-mcp%2Ftiger-challenge/lists"}