Login Endpoint#
Added in version 2.3.
Developer Preview
The ESS Wallet Service endpoints are available as part of a Developer Preview program to allow early access to these features. Please be aware that these APIs may change.
User Session Properties#
The ESS Wallet Service provides the following endpoint for retrieving properties about the user.
https://datawallet.{ESS Domain}/login/userInfo
This endpoint can be used to determine if the user has already completed a signup flow to provision the Pod and establish the containers and access control required by the Wallet.
Note
To access the /login/userInfo
endpoint, users must be authenticated. The endpoint supports the use of HTTP-only, secure session cookies.
Method |
|
Content-Type |
|
Endpoint |
|
Payload |
none |
Output#
Upon completion of the request user information is returned.
Example response
{
"webId": "https://id.example/alice",
"name": "Alice User",
"logo": "https://images.example/logo.png",
"signupRequired": true
}
Field |
Value |
---|---|
|
The WebID of the active user session. |
|
The preferred name of the user, if available, for display in a user interface. |
|
A URL referencing a logo, if available, for display in a user interface. |
|
Indicates whether the user needs to provision a Pod. |