├── .gitattributes ├── .gitignore ├── README.md ├── WebApiAuthentication.sln └── WebApiAuthentication ├── Authentication ├── LibraryUser.cs ├── LoginModel.cs ├── LoginResponse.cs ├── RefreshModel.cs └── RegistrationModel.cs ├── Controllers ├── AuthenticationController.cs └── BookReviewsController.cs ├── DataAccess ├── Context │ └── ReviewContext.cs ├── Entities │ └── BookReview.cs └── Repositories │ ├── IReviewRepository.cs │ └── SqlServerRepository.cs ├── Migrations ├── 20230606090454_InitialCreate.Designer.cs ├── 20230606090454_InitialCreate.cs ├── 20230610102414_AddUsers.Designer.cs ├── 20230610102414_AddUsers.cs ├── 20230829093033_AddRefreshToken.Designer.cs ├── 20230829093033_AddRefreshToken.cs └── ReviewContextModelSnapshot.cs ├── Program.cs ├── Properties └── launchSettings.json ├── WebApiAuthentication.csproj ├── appsettings.Development.json └── appsettings.json /.gitattributes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JasperKent/WebApi-Authentication/HEAD/.gitattributes -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JasperKent/WebApi-Authentication/HEAD/.gitignore -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JasperKent/WebApi-Authentication/HEAD/README.md -------------------------------------------------------------------------------- /WebApiAuthentication.sln: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JasperKent/WebApi-Authentication/HEAD/WebApiAuthentication.sln -------------------------------------------------------------------------------- /WebApiAuthentication/Authentication/LibraryUser.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JasperKent/WebApi-Authentication/HEAD/WebApiAuthentication/Authentication/LibraryUser.cs -------------------------------------------------------------------------------- /WebApiAuthentication/Authentication/LoginModel.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JasperKent/WebApi-Authentication/HEAD/WebApiAuthentication/Authentication/LoginModel.cs -------------------------------------------------------------------------------- /WebApiAuthentication/Authentication/LoginResponse.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JasperKent/WebApi-Authentication/HEAD/WebApiAuthentication/Authentication/LoginResponse.cs -------------------------------------------------------------------------------- /WebApiAuthentication/Authentication/RefreshModel.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JasperKent/WebApi-Authentication/HEAD/WebApiAuthentication/Authentication/RefreshModel.cs -------------------------------------------------------------------------------- /WebApiAuthentication/Authentication/RegistrationModel.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JasperKent/WebApi-Authentication/HEAD/WebApiAuthentication/Authentication/RegistrationModel.cs -------------------------------------------------------------------------------- /WebApiAuthentication/Controllers/AuthenticationController.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JasperKent/WebApi-Authentication/HEAD/WebApiAuthentication/Controllers/AuthenticationController.cs -------------------------------------------------------------------------------- /WebApiAuthentication/Controllers/BookReviewsController.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JasperKent/WebApi-Authentication/HEAD/WebApiAuthentication/Controllers/BookReviewsController.cs -------------------------------------------------------------------------------- /WebApiAuthentication/DataAccess/Context/ReviewContext.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JasperKent/WebApi-Authentication/HEAD/WebApiAuthentication/DataAccess/Context/ReviewContext.cs -------------------------------------------------------------------------------- /WebApiAuthentication/DataAccess/Entities/BookReview.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JasperKent/WebApi-Authentication/HEAD/WebApiAuthentication/DataAccess/Entities/BookReview.cs -------------------------------------------------------------------------------- /WebApiAuthentication/DataAccess/Repositories/IReviewRepository.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JasperKent/WebApi-Authentication/HEAD/WebApiAuthentication/DataAccess/Repositories/IReviewRepository.cs -------------------------------------------------------------------------------- /WebApiAuthentication/DataAccess/Repositories/SqlServerRepository.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JasperKent/WebApi-Authentication/HEAD/WebApiAuthentication/DataAccess/Repositories/SqlServerRepository.cs -------------------------------------------------------------------------------- /WebApiAuthentication/Migrations/20230606090454_InitialCreate.Designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JasperKent/WebApi-Authentication/HEAD/WebApiAuthentication/Migrations/20230606090454_InitialCreate.Designer.cs -------------------------------------------------------------------------------- /WebApiAuthentication/Migrations/20230606090454_InitialCreate.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JasperKent/WebApi-Authentication/HEAD/WebApiAuthentication/Migrations/20230606090454_InitialCreate.cs -------------------------------------------------------------------------------- /WebApiAuthentication/Migrations/20230610102414_AddUsers.Designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JasperKent/WebApi-Authentication/HEAD/WebApiAuthentication/Migrations/20230610102414_AddUsers.Designer.cs -------------------------------------------------------------------------------- /WebApiAuthentication/Migrations/20230610102414_AddUsers.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JasperKent/WebApi-Authentication/HEAD/WebApiAuthentication/Migrations/20230610102414_AddUsers.cs -------------------------------------------------------------------------------- /WebApiAuthentication/Migrations/20230829093033_AddRefreshToken.Designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JasperKent/WebApi-Authentication/HEAD/WebApiAuthentication/Migrations/20230829093033_AddRefreshToken.Designer.cs -------------------------------------------------------------------------------- /WebApiAuthentication/Migrations/20230829093033_AddRefreshToken.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JasperKent/WebApi-Authentication/HEAD/WebApiAuthentication/Migrations/20230829093033_AddRefreshToken.cs -------------------------------------------------------------------------------- /WebApiAuthentication/Migrations/ReviewContextModelSnapshot.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JasperKent/WebApi-Authentication/HEAD/WebApiAuthentication/Migrations/ReviewContextModelSnapshot.cs -------------------------------------------------------------------------------- /WebApiAuthentication/Program.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JasperKent/WebApi-Authentication/HEAD/WebApiAuthentication/Program.cs -------------------------------------------------------------------------------- /WebApiAuthentication/Properties/launchSettings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JasperKent/WebApi-Authentication/HEAD/WebApiAuthentication/Properties/launchSettings.json -------------------------------------------------------------------------------- /WebApiAuthentication/WebApiAuthentication.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JasperKent/WebApi-Authentication/HEAD/WebApiAuthentication/WebApiAuthentication.csproj -------------------------------------------------------------------------------- /WebApiAuthentication/appsettings.Development.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JasperKent/WebApi-Authentication/HEAD/WebApiAuthentication/appsettings.Development.json -------------------------------------------------------------------------------- /WebApiAuthentication/appsettings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JasperKent/WebApi-Authentication/HEAD/WebApiAuthentication/appsettings.json --------------------------------------------------------------------------------