Get logged in user details
GET/login/user/self
Gets the user object of the logged in user that is sending the request.
Request
Responses
- 200
The user details of the logged in user
- application/json
- Schema
- Example (from schema)
Schema
id stringrequired
The unique ID of this login user
neo4jId stringnullablerequired
The id of this user in the neo4j database.
If null after initialization, there was an error. Must be unique as relation to GropiusUser is 1:1.
username stringrequired
The plain text username of the user. Must be kept in sync with username in backend.
Currently has no use outside the userpass strategy
revokeTokensBefore date-timerequired
All tokens (INCLUDING access tokens) issued to this user before this date are no longer valid.
Used to 'emergency'-Revoke tokens
{
"id": "12345678-90ab-cdef-fedc-ab0987654321",
"neo4jId": "string",
"username": "string",
"revokeTokensBefore": "2024-07-03T21:52:34.357Z"
}
Loading...