Account Self Interface
Via the URL
http(s)://[host]/administration/account/self
a client can fetch the current user information. The client has to send a valid domain cookie to this endpoint.
Sample Response
{
authenticated: true,
authenticatedAt: "2015-10-29T09:49:39.634+0100",
loginName: "test",
user: "test",
roles: ["sM_Administrator"],
groups: ["test"],
mail: "test@conterra.de",
street: "Martin-Luther-King-Weg 24",
givenname: "Karl",
gender: "M",
familyname: "Musterman",
country: "Deutschland",
city: "Münster"
}
Response on invalid or missing cookie
{
authenticated: false
}