{"id":21585126,"url":"https://github.com/felipeoriani/authentication","last_synced_at":"2026-05-20T03:13:57.688Z","repository":{"id":217016253,"uuid":"741615975","full_name":"felipeoriani/authentication","owner":"felipeoriani","description":"Exploring authentication mechanisms using .NET and C#.","archived":false,"fork":false,"pushed_at":"2024-01-16T01:38:38.000Z","size":12,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-18T09:13:33.266Z","etag":null,"topics":["asp-net","asp-net-core","auth","authentication","csharp","dotnet","jwt","jwt-authentication"],"latest_commit_sha":null,"homepage":"","language":"C#","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/felipeoriani.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":"2024-01-10T18:58:29.000Z","updated_at":"2024-03-05T02:55:07.000Z","dependencies_parsed_at":"2024-01-16T03:31:27.634Z","dependency_job_id":null,"html_url":"https://github.com/felipeoriani/authentication","commit_stats":null,"previous_names":["felipeoriani/authentication"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/felipeoriani/authentication","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/felipeoriani%2Fauthentication","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/felipeoriani%2Fauthentication/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/felipeoriani%2Fauthentication/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/felipeoriani%2Fauthentication/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/felipeoriani","download_url":"https://codeload.github.com/felipeoriani/authentication/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/felipeoriani%2Fauthentication/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33244265,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-19T15:49:41.270Z","status":"online","status_checked_at":"2026-05-20T02:00:07.149Z","response_time":356,"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":["asp-net","asp-net-core","auth","authentication","csharp","dotnet","jwt","jwt-authentication"],"created_at":"2024-11-24T15:09:08.960Z","updated_at":"2026-05-20T03:13:57.657Z","avatar_url":"https://github.com/felipeoriani.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# About this repository\n\nIn this repository, Felipe will exploring some ways to implement Authentication and Authorization mechanism in ASP.NET\nCore to build an ASP.NET Web Application or ASP.NET API Application. I will also be using this repository for my own\nreference in future projects I will be working. You can use this code anyway you want, just leave a reference where you\nget it :) like I am doing here.\n\n## Everyone in the same page\n\n`Authentication` is a process of verifying and identifying users to allow them access to protected resources. Once a\nuser is authenticated, an extra step is the `Authorization` which determines whether the user is permitted or denied\naccess to specific resources. Some application can also contains resources or data that does not requires authentication\nand we call this as public access or in some technical `.NET` terms, `Anonymous` access.\n\nIn essence, `Authentication` establishes the user's identity, while _Authorization_ check their access to the features\nor data within an application.\n\n## Examples\n\nEvery project in the Solutions explores an authentication mechanism and to make sure we understand everything. It is\nimportant to mention I started it from the scratch without frameworks and then evolve towards more sophisticated\nsolutions.\n\n### RawCookieAuthentication\n\nThis example illustrates how we could implement an _Authentication_ mechanism based on the existing implementation\navailable in the ASP.NET Core, but accessing `http` feature via `HtppContext`, without any framework. This\nimplementation uses cookies to create the state of the authentication within the browser. \n\n**Warning**: It is not recommend to be used as production code. Please consider ASP.NET Core features to implement it. ","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffelipeoriani%2Fauthentication","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffelipeoriani%2Fauthentication","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffelipeoriani%2Fauthentication/lists"}