Add authentications log

This commit is contained in:
Bubka
2024-04-15 00:44:18 +02:00
parent 1bc55f5535
commit a6745c28a6
25 changed files with 3944 additions and 4712 deletions

View File

@ -128,5 +128,14 @@ export default {
revokeWebauthnCredentials(id, config = {}) {
return apiClient.delete('/users/' + id + '/credentials', { ...config })
},
/**
* Get user's authentication logs
*
* @returns promise
*/
getauthentications(id, limit, config = {}) {
return apiClient.get('/users/' + id + '/authentications' + (limit ? '?limit=' + limit : ''), { ...config })
},
}