This public web service allows to get information about the current session.
Method | Endpoint |
---|---|
GET |
|
Response body
{
"sessionAuthenticated": true,
"profile": {
"userId": "9e193047-860c-418b-8941-bfd59ca5b2a6",
"displayName": "John Arthur Doe",
"emailAddress": "jdoe@fluidtopics.com",
"roles": [
"KHUB_ADMIN",
"PERSONAL_BOOK_USER",
"DEBUG_USER",
"PERSONAL_BOOK_SHARE_USER",
"ADMIN",
"PDF_EXPORT_USER",
"BETA_USER",
"PORTAL_ADMIN",
"SAVED_SEARCH_USER",
"USERS_ADMIN",
"HTML_EXPORT_USER"
]
},
"tags": [
"tag1",
"tag2"
]
},
"authenticationIdentifier": {
"identifier": "jdoe@fluidtopics.com",
"realm": "Root User"
},
"idleTimeoutInMillis": -1,
"searchPreferences": {
"defaultFilters": [
{
"key": "audience",
"values": [
"\"premium\""
],
"negative": false
}
]
}
}
Field | Type | Description |
---|---|---|
sessionAuthenticated |
Boolean | The authentication status of the user. |
profile |
Object | An object containing information about the user. |
userId |
String | Optional. Only present when sessionAuthenticated is true . The identifier of the connected user. |
displayName |
String | Optional. Only present when sessionAuthenticated is true . The display name of the user. |
emailAddress |
String | Optional. Only present when sessionAuthenticated is true . The email address of the user. |
roles |
Array | Indicates the roles of the user. |
authenticationIdentifier |
Object | Optional. Only present when sessionAuthenticated is true . Information about the authentication of the user. |
identifier |
String | The user identifier in the realm. |
realm |
String | Indicates the realm to which the user belongs. |
idleTimeoutInMillis |
Number | The authentication timeout set in the portal, expressed in milliseconds. For example, for the default timeout value of 30 minutes, the idleTimeoutInMillis value is 1800000 . When there is no timeout, the value is -1 . |
searchPreferences |
Object | The search preferences of the user, as set in the My Account menu. |
defaultFilters |
Array | The search filters of the user, as set in the My Account menu. |