{"id":19654124,"url":"https://github.com/aimenux/apikeyauthenticationdemo","last_synced_at":"2026-06-05T20:32:04.238Z","repository":{"id":163084900,"uuid":"638489028","full_name":"aimenux/ApiKeyAuthenticationDemo","owner":"aimenux","description":"Adding api key authentication to web api projects","archived":false,"fork":false,"pushed_at":"2024-08-14T22:58:54.000Z","size":83,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-10T00:24:15.455Z","etag":null,"topics":["api-key-authentication","controller-api","minimal-api","net80","webapi"],"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-09T13:20:09.000Z","updated_at":"2024-08-14T22:58:57.000Z","dependencies_parsed_at":null,"dependency_job_id":"c0c1bb06-05a4-451e-8e92-bebd0b10d36c","html_url":"https://github.com/aimenux/ApiKeyAuthenticationDemo","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aimenux%2FApiKeyAuthenticationDemo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aimenux%2FApiKeyAuthenticationDemo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aimenux%2FApiKeyAuthenticationDemo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aimenux%2FApiKeyAuthenticationDemo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aimenux","download_url":"https://codeload.github.com/aimenux/ApiKeyAuthenticationDemo/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":["api-key-authentication","controller-api","minimal-api","net80","webapi"],"created_at":"2024-11-11T15:16:23.197Z","updated_at":"2026-06-05T20:32:04.205Z","avatar_url":"https://github.com/aimenux.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![.NET](https://github.com/aimenux/ApiKeyAuthenticationDemo/actions/workflows/ci.yml/badge.svg)](https://github.com/aimenux/ApiKeyAuthenticationDemo/actions/workflows/ci.yml)\n\n# ApiKeyAuthenticationDemo\n```\nAdding api key authentication to web api projects\n```\n\nIn this repo, i m using various ways to support api key authentication in web api projects\n\u003e\n\u003e :one: `Example01` use controller api with api key authentication based on middlewares\n\u003e\n\u003e :two: `Example02` use minimal api with api key authentication based on middlewares\n\u003e\n\u003e :three: `Example03` use controller api with api key authentication based on authorisation filters (applied globally)\n\u003e\n\u003e :four: `Example04` use minimal api with api key authentication based on endpoint filters (applied globally)\n\u003e\n\u003e :five: `Example05` use controller api with api key authentication based on authorisation filters (applied by route)\n\u003e\n\u003e :six: `Example06` use minimal api with api key authentication based on endpoint filters (applied by route)\n\u003e\n\u003e :seven: `Example07` use controller api with api key authentication based on a custom authentication scheme\n\u003e\n\u003e :eight: `Example08` use minimal api with api key authentication based on a custom authentication scheme\n\u003e \n**`Tools`** : net 8.0, web api, integration-testing, fluent-assertions, nsubstitute, xunit\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faimenux%2Fapikeyauthenticationdemo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faimenux%2Fapikeyauthenticationdemo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faimenux%2Fapikeyauthenticationdemo/lists"}