├── .gitignore ├── Controllers └── UsersController.cs ├── Entities └── User.cs ├── Helpers ├── AppSettings.cs ├── AuthorizeAttribute.cs └── JwtMiddleware.cs ├── LICENSE ├── Models ├── AuthenticateRequest.cs └── AuthenticateResponse.cs ├── Program.cs ├── README.md ├── Services └── UserService.cs ├── WebApi.csproj ├── appsettings.json └── omnisharp.json /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cornflourblue/dotnet-6-jwt-authentication-api/HEAD/.gitignore -------------------------------------------------------------------------------- /Controllers/UsersController.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cornflourblue/dotnet-6-jwt-authentication-api/HEAD/Controllers/UsersController.cs -------------------------------------------------------------------------------- /Entities/User.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cornflourblue/dotnet-6-jwt-authentication-api/HEAD/Entities/User.cs -------------------------------------------------------------------------------- /Helpers/AppSettings.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cornflourblue/dotnet-6-jwt-authentication-api/HEAD/Helpers/AppSettings.cs -------------------------------------------------------------------------------- /Helpers/AuthorizeAttribute.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cornflourblue/dotnet-6-jwt-authentication-api/HEAD/Helpers/AuthorizeAttribute.cs -------------------------------------------------------------------------------- /Helpers/JwtMiddleware.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cornflourblue/dotnet-6-jwt-authentication-api/HEAD/Helpers/JwtMiddleware.cs -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cornflourblue/dotnet-6-jwt-authentication-api/HEAD/LICENSE -------------------------------------------------------------------------------- /Models/AuthenticateRequest.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cornflourblue/dotnet-6-jwt-authentication-api/HEAD/Models/AuthenticateRequest.cs -------------------------------------------------------------------------------- /Models/AuthenticateResponse.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cornflourblue/dotnet-6-jwt-authentication-api/HEAD/Models/AuthenticateResponse.cs -------------------------------------------------------------------------------- /Program.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cornflourblue/dotnet-6-jwt-authentication-api/HEAD/Program.cs -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cornflourblue/dotnet-6-jwt-authentication-api/HEAD/README.md -------------------------------------------------------------------------------- /Services/UserService.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cornflourblue/dotnet-6-jwt-authentication-api/HEAD/Services/UserService.cs -------------------------------------------------------------------------------- /WebApi.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cornflourblue/dotnet-6-jwt-authentication-api/HEAD/WebApi.csproj -------------------------------------------------------------------------------- /appsettings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cornflourblue/dotnet-6-jwt-authentication-api/HEAD/appsettings.json -------------------------------------------------------------------------------- /omnisharp.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cornflourblue/dotnet-6-jwt-authentication-api/HEAD/omnisharp.json --------------------------------------------------------------------------------