{"id":22272979,"url":"https://github.com/burakkontas/asp.net-custom-authorize-attribute","last_synced_at":"2025-03-25T16:26:47.908Z","repository":{"id":230571489,"uuid":"779677854","full_name":"BurakKontas/ASP.NET-Custom-Authorize-Attribute","owner":"BurakKontas","description":"CustomAttribute PermissionAuthorizeAttribute for ASP.NET Core applications.","archived":false,"fork":false,"pushed_at":"2024-03-30T13:53:55.000Z","size":11,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-30T14:40:54.730Z","etag":null,"topics":["aspnetcore","attributes","custom-attributes","microservices-architecture","permissions","security"],"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/BurakKontas.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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}},"created_at":"2024-03-30T13:51:46.000Z","updated_at":"2024-03-30T13:52:58.000Z","dependencies_parsed_at":"2024-03-30T14:53:30.666Z","dependency_job_id":null,"html_url":"https://github.com/BurakKontas/ASP.NET-Custom-Authorize-Attribute","commit_stats":null,"previous_names":["burakkontas/asp.net-custom-authorize-attribute"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BurakKontas%2FASP.NET-Custom-Authorize-Attribute","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BurakKontas%2FASP.NET-Custom-Authorize-Attribute/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BurakKontas%2FASP.NET-Custom-Authorize-Attribute/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BurakKontas%2FASP.NET-Custom-Authorize-Attribute/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BurakKontas","download_url":"https://codeload.github.com/BurakKontas/ASP.NET-Custom-Authorize-Attribute/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245498857,"owners_count":20625261,"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":["aspnetcore","attributes","custom-attributes","microservices-architecture","permissions","security"],"created_at":"2024-12-03T13:09:07.619Z","updated_at":"2025-03-25T16:26:47.857Z","avatar_url":"https://github.com/BurakKontas.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"This repository contains a custom attribute for ASP.NET Core applications named PermissionAuthorizeAttribute. This attribute extends the AuthorizeAttribute class and provides a way to authorize actions based on permissions and permission modes.\n\nThe PermissionAuthorizeAttribute allows specifying the required permissions and the mode of permission verification for authorized actions. It can be applied to controller actions or entire controller classes.\n\nTo use this attribute, simply decorate your controller actions or classes with [PermissionAuthorize] and provide the necessary permissions. By default, the attribute accepts an array of permissions and verifies them in \"Any\" mode.\n\nExample usage:\n\n```csharp\n[HttpGet]\n[PermissionAuthorize(permissions: [Permissions.Read, Permissions.Write], mode: PermissionMode.All)]\npublic IActionResult MyAction()\n{\n    // Action logic here\n}\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fburakkontas%2Fasp.net-custom-authorize-attribute","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fburakkontas%2Fasp.net-custom-authorize-attribute","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fburakkontas%2Fasp.net-custom-authorize-attribute/lists"}