{"id":22883274,"url":"https://github.com/kirtanp04/rolebasedauthapi","last_synced_at":"2025-03-31T16:52:40.246Z","repository":{"id":259480492,"uuid":"877998755","full_name":"kirtanp04/RoleBasedAuthApi","owner":"kirtanp04","description":"This project implements role-based user authorization and access control using .NET Core Web API. It enables user authentication via tokens and defines user roles such as Admin, and User, each with specific access permissions to API endpoints.","archived":false,"fork":false,"pushed_at":"2024-10-25T14:09:21.000Z","size":19,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-06T22:15:03.735Z","etag":null,"topics":["dotnetwebapi"],"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/kirtanp04.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,"publiccode":null,"codemeta":null}},"created_at":"2024-10-24T15:45:04.000Z","updated_at":"2024-10-28T11:18:12.000Z","dependencies_parsed_at":"2024-10-25T22:03:04.201Z","dependency_job_id":"bd577962-525e-42c3-b6ca-66e1f2973b63","html_url":"https://github.com/kirtanp04/RoleBasedAuthApi","commit_stats":null,"previous_names":["kirtanp04/rolebasedauthapi"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kirtanp04%2FRoleBasedAuthApi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kirtanp04%2FRoleBasedAuthApi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kirtanp04%2FRoleBasedAuthApi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kirtanp04%2FRoleBasedAuthApi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kirtanp04","download_url":"https://codeload.github.com/kirtanp04/RoleBasedAuthApi/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246500496,"owners_count":20787707,"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":["dotnetwebapi"],"created_at":"2024-12-13T18:34:42.916Z","updated_at":"2025-03-31T16:52:40.220Z","avatar_url":"https://github.com/kirtanp04.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"﻿# Role-Based Authorization API in .NET Core\n\nThis project demonstrates a **Role-Based Authorization** system using **.NET Core Web API**. It manages user authentication and access control by defining Admin and User roles and restricting access to certain API endpoints based on these roles. It also includes encryption and decryption for sensitive data handling.\n\n## ✨ Features\n\n- 🔐 **User Authentication**: Token-based authentication using **JWT** (JSON Web Tokens).\n- 🛡️ **Role-Based Access Control**: Define roles (e.g., Admin and User) to control access to specific API resources.\n- 🔒 **Encryption/Decryption**: Ensures sensitive data is encrypted during storage and transmission using AES (Advanced Encryption Standard).\n- 🔍 **Secure API Endpoints**: Prevent unauthorized access by securing endpoints.\n- 📄 **API Documentation**: Comprehensive documentation with **Swagger**.\n\n## 🔧 Technologies Used\n\n- **ASP.NET Core 6.0**\n- **Entity Framework Core** for database interaction\n- **JWT Bearer Tokens** for secure authentication\n- **SQL Server** for the database\n- **Swagger** for API documentation\n\n## 🚀 Installation\n\nFollow these steps to set up the project locally:\n\n1. Clone the repository:\n   ```bash\n   git clone https://github.com/kirtanp04/RoleBasedAuthApi.git\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkirtanp04%2Frolebasedauthapi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkirtanp04%2Frolebasedauthapi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkirtanp04%2Frolebasedauthapi/lists"}