Page:
Login endpoints
Pages
API SMHI
API Sudoku
API TimeEdit
Accessibility Testing
Api documentation
Bat/Ps
Branch Creation
C# Coding Convention
CSS Coding Convention
Coding Conventions
Creating new databases
Dapper
Dictionary API
Documentation for service endpoints
Documentation of useTemperature and mock sensor
Energy endpoints
Environment
Evaluation react-grid-layout
Evaluation Localization
Evaluation Password hashing
Evaluation Testing framework
Evaluation of Logging Frameworks
Formatter
Frontend model
Generic Diagram for Sensor data flow
Home
How to- Creating Databases in Docker
Implementing different Styles
Implementing new Services (and Mockups)
Implementing new Views
Installation script documentation
Installation
Integration testing utilizing testcontainers, xUnit and ASP.NET core web testservers
Issues
JSON Coding Convention
Jest Testing
Layout endpoints
Linux
Localization
Login endpoints
Mac
Menu Endpoints
Middleware model
Mock API Ceation Guidelines
Mockup models
Model Tools and Standards
Parking endpoints
React/JavaScript Coding Convention
React
Reviews
Room booking endpoints
SQL Coding Convention
Scheduled Database tasks
Scripting Coding Convention
Seasonal theme
Secrets and .env
Server Access
Server-DeploymentUnix
Server-DeploymentWindows
Server-Hardware/Benchmarks
Service/API models
System models
System requirements
Temperature endpoints
Testing API with Bruno
Testing Architecture
Testing frontend for Mobile devices
Testing frontend with Playwright
Testing methodology
Themes
Trivia API
Västtrafik API
Webpage Design
Windows
file endpoints
pg_cron and scheduled database jobs
xUnit Testing
No results
6
Login endpoints
j21marbr edited this page 2026-05-27 14:48:23 +00:00
Login endpoints
- /health
- /auth/Login
- /auth/SignUp
- /auth/ChangePassword
- /auth/Refresh
- /auth/Logout
- /auth/DeleteAccount
GET /health
Path to endpoint
GET /health
Return values
Returns a status message.
When no error occurs
- Service is running
- Status: 200 OK
POST /auth/Login
Path to endpoint
POST /auth/Login
Required values
- Username: username
- Password: password
Return values
Returns a JSON object containing authentication response data:
- IsSuccess: success message
- ErrorMessage: error message
When no error occurs
- User is logged in successfully
- Status: 200 OK
When error occurs
- Login failed or invalid login data
- Status: 400 Bad Request
POST /auth/SignUp
Path to endpoint
POST /auth/SignUp
Required values
- Username: username
- Firstname: first name
- Lastname: last name
- Email: email address
- Password: password
Return values
Returns a JSON object containing authentication response data:
- IsSuccess: success message
- ErrorMessage: error message
When no error occurs
- User is signed up successfully
- Status: 200 OK
When error occurs
- Sign up failed or invalid sign up data
- Status: 400 Bad Request
POST /auth/ChangePassword
Path to endpoint
POST /auth/ChangePassword
Required values
- Username: username
- OldPassword: old password
- NewPassword: new password
Return values
Returns a JSON object containing authentication response data:
- IsSuccess: success message
- ErrorMessage: error message
When no error occurs
- Password is changed successfully
- Status: 200 OK
When error occurs
- Password change failed or invalid password data
- Status: 400 Bad Request
POST /auth/Refresh
Path to endpoint
POST /auth/Refresh
Return values
Refreshes the authentication tokens.
When no error occurs
- New access token is created
- New refresh token is created
- Status: 200 OK
When error occurs
- Refresh failed or invalid refresh token
- Status: 401 Unauthorized
POST /auth/Logout
Path to endpoint
POST /auth/Logout
Return values
Logs out the authenticated user.
When no error occurs
- User is logged out successfully
- Authentication cookies are deleted
- Status: 200 OK
When error occurs
- Invalid or missing refresh token
- Status: 401 Unauthorized
DELETE /auth/DeleteAccount
Path to endpoint
DELETE /auth/DeleteAccount
Required values
- Username: username
- Password: password
Return values
Returns a JSON object containing authentication response data:
- IsSuccess: success message
- ErrorMessage: error message
When no error occurs
- User account is deleted successfully
- Status: 200 OK
When error occurs
- Delete account failed or invalid account data
- Status: 400 Bad Request
1. Setup
2. Standards
- Coding Conventions
- Issues
- Branch creation
- Reviews
- Implementation Standards
- [WIP] Creating new databases
- Localization
3. Models and Diagrams
4. Testing
- Testing methodology
- Testing Architecture
- Testing frontend with Playwright
- Integration testing utilizing testcontainers, xUnit and ASP.NET core webhost
5. Documentation
- Documentation for service endpoints
- API documentation
- Webpage Design
- Secrets and .env
- Evaluations
- Installation and Rebuild script documentation
6. Guides and How-to's
7. Micro Service Mockup Api
- Guidelines Mircro Service Mockup
- Documentation of useTemperature/useTemperatureTimeSeries mockup sensor