Retrieve current user status
GET/api/auth/user
Retrieves current user state, whether someone is logged in or not a 200 result is provided. This is used in the frontend to determine whether certain aspects should be shown.
Request
Responses
- 200
- application/json
- Schema
- Example (from schema)
Schema
- AuthenticatedUserDto
- UnauthenticatedUserDto
oneOf
stateobjectrequired
user
object
required
substringrequired
namestringrequired
emailstringrequired
rolesstring[]required
stateobjectrequired
{}