{"id":25762125,"url":"https://github.com/farhadnowzari/keycloak.authz.net","last_synced_at":"2025-08-30T09:34:08.989Z","repository":{"id":278387715,"uuid":"934302052","full_name":"farhadnowzari/Keycloak.Authz.Net","owner":"farhadnowzari","description":"This library is designed to give C# the power of fine-grained authorization from keycloak","archived":false,"fork":false,"pushed_at":"2025-02-24T07:17:11.000Z","size":27,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-11T22:45:43.073Z","etag":null,"topics":["abac","authorization","csharp","keycloak"],"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/farhadnowzari.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":"2025-02-17T15:50:58.000Z","updated_at":"2025-06-08T19:02:06.000Z","dependencies_parsed_at":"2025-02-19T14:39:06.425Z","dependency_job_id":null,"html_url":"https://github.com/farhadnowzari/Keycloak.Authz.Net","commit_stats":null,"previous_names":["farhadnowzari/keycloak.authz.net"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/farhadnowzari/Keycloak.Authz.Net","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/farhadnowzari%2FKeycloak.Authz.Net","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/farhadnowzari%2FKeycloak.Authz.Net/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/farhadnowzari%2FKeycloak.Authz.Net/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/farhadnowzari%2FKeycloak.Authz.Net/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/farhadnowzari","download_url":"https://codeload.github.com/farhadnowzari/Keycloak.Authz.Net/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/farhadnowzari%2FKeycloak.Authz.Net/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272833298,"owners_count":25000870,"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","status":"online","status_checked_at":"2025-08-30T02:00:09.474Z","response_time":77,"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":["abac","authorization","csharp","keycloak"],"created_at":"2025-02-26T19:36:25.149Z","updated_at":"2025-08-30T09:34:08.958Z","avatar_url":"https://github.com/farhadnowzari.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Keycloak.Authz.Net\n\nThis library is created to bring the Keycloak's fine-grained authorization to C#.\n\nIf you want to learn more about how to configure keycloak as an authorization server, check [this video](https://www.youtube.com/watch?v=E5g50CVRGv8) or if you are not a visual learner, check the [official keycloak documentation](https://www.keycloak.org/docs/latest/authorization_services/index.html).\n\n## Installation\n\nThis library is available in nuget and can be installed with the following command:\n```sh\ndotnet add package Keycloak.Authz.Net\n```\n\n**Note**: This is a dotnet 8 specific library.\n\n## Why should you use this?\n\nWell if you already know how the legacy `[Authorize]` attribute works, or how `.RequireAuthorization()` extension method for endpoints works, then you will have no problem to switch to something much more complex, but simplified enough so you can use it exactly the same as before.\n\nFor example the attributes and extension methods are changed like this:\n\n* [Authorize] -\u003e [Authz]\n* .RequireAuthorization() -\u003e .RequireAuthz()\n\nNow if you are interested, check out the [Documentation](https://github.com/farhadnowzari/Keycloak.Authz.Net/wiki)\n\n## Contributing\nAnyone from the community is so welcomed to just jump in, fix things or add new features. I am maintaining this project just by myself, but will appreciate some help 😊\n\nJust simply make a PR and we will check it out together.\n\n## Resources\nCheck the [Documentation] for more info about how to set it up.\n\nFor an example project, check [example](https://github.com/farhadnowzari/Keycloak.Authz.Net/tree/main/example)\n\nFor more information on Keycloak fine-grained authorization check:\n* [My video on it](https://www.youtube.com/watch?v=E5g50CVRGv8)\n* Keycloak [official documentations](https://www.keycloak.org/docs/latest/authorization_services/index.html).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffarhadnowzari%2Fkeycloak.authz.net","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffarhadnowzari%2Fkeycloak.authz.net","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffarhadnowzari%2Fkeycloak.authz.net/lists"}