[PLT-7793] Add /users/tokens/search endpoint (#8088)

* Add /users/tokens/search endpoint + tests

* Fix check-style

* Unnecessary deletion
Этот коммит содержится в:
Adrian Carolli
2018-01-11 16:30:55 -05:00
коммит произвёл Joram Wilander
родитель 1d9efd0e39
Коммит b1d13a2d89
11 изменённых файлов: 231 добавлений и 0 удалений

Просмотреть файл

@@ -449,6 +449,7 @@ type UserAccessTokenStore interface {
GetAll(offset int, limit int) StoreChannel
GetByToken(tokenString string) StoreChannel
GetByUser(userId string, page, perPage int) StoreChannel
Search(term string) StoreChannel
UpdateTokenEnable(tokenId string) StoreChannel
UpdateTokenDisable(tokenId string) StoreChannel
}