get
https://localhost/irs/sessions/v1/sessions/whoami
This endpoint is used to get public information of the current session.
It's used to validate and view session details such as the authenticated user's data.
The endpoint expects a session token either in "Authorization Bearer" or through a cookie,
the name of which is set in the session.cookie.name configuration, which defaults to "irssession".
A CSRF token must also be provided if the session was issued by setting a cookie.
To provide the CSRF token, pass it in the X-IRS-CSRF-Token header.
