Restore session management

Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
This commit is contained in:
marcin mikołajczak
2022-05-12 17:45:40 +02:00
parent 38b960244a
commit c540ae2201
8 changed files with 140 additions and 50 deletions

View File

@ -450,6 +450,13 @@ const getInstanceFeatures = (instance: Instance) => {
v.software === TRUTHSOCIAL,
]),
/**
* Ability to manage account sessions.
* @see GET /api/oauth_tokens.json
* @see DELETE /api/oauth_tokens/:id
*/
sessionsAPI: v.software === PLEROMA,
/**
* Can store client settings in the database.
* @see PATCH /api/v1/accounts/update_credentials