{"id":19654134,"url":"https://github.com/aimenux/basicauthenticationdemo","last_synced_at":"2025-02-27T01:46:25.193Z","repository":{"id":168396678,"uuid":"644105128","full_name":"aimenux/BasicAuthenticationDemo","owner":"aimenux","description":"Adding basic authentication to web api projects","archived":false,"fork":false,"pushed_at":"2024-08-11T17:46:15.000Z","size":40,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-10T00:24:27.120Z","etag":null,"topics":["basic-authentication","controller-api","minimal-api","net80","web-api"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/aimenux.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2023-05-22T20:35:12.000Z","updated_at":"2024-08-11T17:46:27.000Z","dependencies_parsed_at":null,"dependency_job_id":"5ab42359-2e1f-4994-ade6-1ea2d288adb7","html_url":"https://github.com/aimenux/BasicAuthenticationDemo","commit_stats":null,"previous_names":["aimenux/basicauthenticationdemo"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aimenux%2FBasicAuthenticationDemo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aimenux%2FBasicAuthenticationDemo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aimenux%2FBasicAuthenticationDemo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aimenux%2FBasicAuthenticationDemo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aimenux","download_url":"https://codeload.github.com/aimenux/BasicAuthenticationDemo/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240962705,"owners_count":19885519,"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":["basic-authentication","controller-api","minimal-api","net80","web-api"],"created_at":"2024-11-11T15:16:23.399Z","updated_at":"2025-02-27T01:46:25.175Z","avatar_url":"https://github.com/aimenux.png","language":"C#","readme":"[![.NET](https://github.com/aimenux/BasicAuthenticationDemo/actions/workflows/ci.yml/badge.svg?branch=main)](https://github.com/aimenux/BasicAuthenticationDemo/actions/workflows/ci.yml)\n\n# BasicAuthenticationDemo\n\n```\nAdding basic authentication to web api projects\n```\n\nIn this repo, i m using various ways to support basic authentication in web api projects\n\u003e\n\u003e :one: `Example01` use controller api with basic authentication based on middlewares\n\u003e\n\u003e :two: `Example02` use minimal api with basic authentication based on middlewares\n\u003e\n\u003e :three: `Example03` use controller api with basic authentication based on authorisation filters (applied globally)\n\u003e\n\u003e :four: `Example04` use minimal api with basic authentication based on endpoint filters (applied globally)\n\u003e\n\u003e :five: `Example05` use controller api with basic authentication based on authorisation filters (applied by route)\n\u003e\n\u003e :six: `Example06` use minimal api with basic authentication based on endpoint filters (applied by route)\n\u003e\n\u003e :seven: `Example07` use controller api with basic authentication based on a custom authentication scheme\n\u003e\n\u003e :eight: `Example08` use minimal api with basic authentication based on a custom authentication scheme\n\u003e \n**`Tools`** : net 8.0, web api, integration-testing, fluent-assertions, nsubstitute, xunit\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faimenux%2Fbasicauthenticationdemo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faimenux%2Fbasicauthenticationdemo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faimenux%2Fbasicauthenticationdemo/lists"}