├── .gitignore ├── .idea └── .idea.JwtRoleAuthentication │ └── .idea │ ├── .gitignore │ ├── dataSources.xml │ ├── encodings.xml │ └── indexLayout.xml ├── README.md └── src ├── .idea └── .idea.JwtRoleAuthentication │ └── .idea │ ├── .gitignore │ ├── .name │ ├── encodings.xml │ ├── indexLayout.xml │ └── vcs.xml ├── Controllers ├── PagesController.cs └── UsersController.cs ├── Data ├── ApplicationDbContext.cs └── Migrations │ ├── 20231125225221_Initial.Designer.cs │ ├── 20231125225221_Initial.cs │ └── ApplicationDbContextModelSnapshot.cs ├── Enums └── Role.cs ├── JwtRoleAuthentication.csproj ├── JwtRoleAuthentication.sln ├── Models ├── ApplicationUser.cs ├── AuthRequest.cs ├── AuthResponse.cs ├── Page.cs ├── PageDto.cs ├── PagesDto.cs └── RegistrationRequest.cs ├── Program.cs ├── Properties └── launchSettings.json ├── Services └── TokenService.cs ├── appsettings.Development.json └── appsettings.json /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markjamesm/asp-net-core8-jwt-example/HEAD/.gitignore -------------------------------------------------------------------------------- /.idea/.idea.JwtRoleAuthentication/.idea/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markjamesm/asp-net-core8-jwt-example/HEAD/.idea/.idea.JwtRoleAuthentication/.idea/.gitignore -------------------------------------------------------------------------------- /.idea/.idea.JwtRoleAuthentication/.idea/dataSources.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markjamesm/asp-net-core8-jwt-example/HEAD/.idea/.idea.JwtRoleAuthentication/.idea/dataSources.xml -------------------------------------------------------------------------------- /.idea/.idea.JwtRoleAuthentication/.idea/encodings.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markjamesm/asp-net-core8-jwt-example/HEAD/.idea/.idea.JwtRoleAuthentication/.idea/encodings.xml -------------------------------------------------------------------------------- /.idea/.idea.JwtRoleAuthentication/.idea/indexLayout.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markjamesm/asp-net-core8-jwt-example/HEAD/.idea/.idea.JwtRoleAuthentication/.idea/indexLayout.xml -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markjamesm/asp-net-core8-jwt-example/HEAD/README.md -------------------------------------------------------------------------------- /src/.idea/.idea.JwtRoleAuthentication/.idea/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markjamesm/asp-net-core8-jwt-example/HEAD/src/.idea/.idea.JwtRoleAuthentication/.idea/.gitignore -------------------------------------------------------------------------------- /src/.idea/.idea.JwtRoleAuthentication/.idea/.name: -------------------------------------------------------------------------------- 1 | JwtRoleAuthentication -------------------------------------------------------------------------------- /src/.idea/.idea.JwtRoleAuthentication/.idea/encodings.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markjamesm/asp-net-core8-jwt-example/HEAD/src/.idea/.idea.JwtRoleAuthentication/.idea/encodings.xml -------------------------------------------------------------------------------- /src/.idea/.idea.JwtRoleAuthentication/.idea/indexLayout.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markjamesm/asp-net-core8-jwt-example/HEAD/src/.idea/.idea.JwtRoleAuthentication/.idea/indexLayout.xml -------------------------------------------------------------------------------- /src/.idea/.idea.JwtRoleAuthentication/.idea/vcs.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markjamesm/asp-net-core8-jwt-example/HEAD/src/.idea/.idea.JwtRoleAuthentication/.idea/vcs.xml -------------------------------------------------------------------------------- /src/Controllers/PagesController.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markjamesm/asp-net-core8-jwt-example/HEAD/src/Controllers/PagesController.cs -------------------------------------------------------------------------------- /src/Controllers/UsersController.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markjamesm/asp-net-core8-jwt-example/HEAD/src/Controllers/UsersController.cs -------------------------------------------------------------------------------- /src/Data/ApplicationDbContext.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markjamesm/asp-net-core8-jwt-example/HEAD/src/Data/ApplicationDbContext.cs -------------------------------------------------------------------------------- /src/Data/Migrations/20231125225221_Initial.Designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markjamesm/asp-net-core8-jwt-example/HEAD/src/Data/Migrations/20231125225221_Initial.Designer.cs -------------------------------------------------------------------------------- /src/Data/Migrations/20231125225221_Initial.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markjamesm/asp-net-core8-jwt-example/HEAD/src/Data/Migrations/20231125225221_Initial.cs -------------------------------------------------------------------------------- /src/Data/Migrations/ApplicationDbContextModelSnapshot.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markjamesm/asp-net-core8-jwt-example/HEAD/src/Data/Migrations/ApplicationDbContextModelSnapshot.cs -------------------------------------------------------------------------------- /src/Enums/Role.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markjamesm/asp-net-core8-jwt-example/HEAD/src/Enums/Role.cs -------------------------------------------------------------------------------- /src/JwtRoleAuthentication.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markjamesm/asp-net-core8-jwt-example/HEAD/src/JwtRoleAuthentication.csproj -------------------------------------------------------------------------------- /src/JwtRoleAuthentication.sln: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markjamesm/asp-net-core8-jwt-example/HEAD/src/JwtRoleAuthentication.sln -------------------------------------------------------------------------------- /src/Models/ApplicationUser.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markjamesm/asp-net-core8-jwt-example/HEAD/src/Models/ApplicationUser.cs -------------------------------------------------------------------------------- /src/Models/AuthRequest.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markjamesm/asp-net-core8-jwt-example/HEAD/src/Models/AuthRequest.cs -------------------------------------------------------------------------------- /src/Models/AuthResponse.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markjamesm/asp-net-core8-jwt-example/HEAD/src/Models/AuthResponse.cs -------------------------------------------------------------------------------- /src/Models/Page.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markjamesm/asp-net-core8-jwt-example/HEAD/src/Models/Page.cs -------------------------------------------------------------------------------- /src/Models/PageDto.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markjamesm/asp-net-core8-jwt-example/HEAD/src/Models/PageDto.cs -------------------------------------------------------------------------------- /src/Models/PagesDto.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markjamesm/asp-net-core8-jwt-example/HEAD/src/Models/PagesDto.cs -------------------------------------------------------------------------------- /src/Models/RegistrationRequest.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markjamesm/asp-net-core8-jwt-example/HEAD/src/Models/RegistrationRequest.cs -------------------------------------------------------------------------------- /src/Program.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markjamesm/asp-net-core8-jwt-example/HEAD/src/Program.cs -------------------------------------------------------------------------------- /src/Properties/launchSettings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markjamesm/asp-net-core8-jwt-example/HEAD/src/Properties/launchSettings.json -------------------------------------------------------------------------------- /src/Services/TokenService.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markjamesm/asp-net-core8-jwt-example/HEAD/src/Services/TokenService.cs -------------------------------------------------------------------------------- /src/appsettings.Development.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markjamesm/asp-net-core8-jwt-example/HEAD/src/appsettings.Development.json -------------------------------------------------------------------------------- /src/appsettings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markjamesm/asp-net-core8-jwt-example/HEAD/src/appsettings.json --------------------------------------------------------------------------------