diff options
author | enahum <nahumhbl@gmail.com> | 2016-08-23 19:06:17 -0300 |
---|---|---|
committer | Joram Wilander <jwawilander@gmail.com> | 2016-08-23 18:06:17 -0400 |
commit | 9ab5a7996247c98ed6267b638e1b313e7c4eb8ff (patch) | |
tree | 95579883cd48370ee48259b2bec02b124df2f200 /store/store.go | |
parent | e406a92fbbfe36765ab66d9879a9c94546c7c281 (diff) | |
download | chat-9ab5a7996247c98ed6267b638e1b313e7c4eb8ff.tar.gz chat-9ab5a7996247c98ed6267b638e1b313e7c4eb8ff.tar.bz2 chat-9ab5a7996247c98ed6267b638e1b313e7c4eb8ff.zip |
PLT-3745 - Deauthorize OAuth Apps (#3852)
* Deauthorize OAuth APIs
* Deautorize OAuth Apps Account Settings
* Fix typo in client method
* Fix issues found by PM
* Show help text only when there is at least one authorized app
Diffstat (limited to 'store/store.go')
-rw-r--r-- | store/store.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/store/store.go b/store/store.go index b9a55fa2e..78db41e77 100644 --- a/store/store.go +++ b/store/store.go @@ -188,6 +188,7 @@ type OAuthStore interface { GetApp(id string) StoreChannel GetAppByUser(userId string) StoreChannel GetApps() StoreChannel + GetAuthorizedApps(userId string) StoreChannel DeleteApp(id string) StoreChannel SaveAuthData(authData *model.AuthData) StoreChannel GetAuthData(code string) StoreChannel @@ -196,6 +197,7 @@ type OAuthStore interface { SaveAccessData(accessData *model.AccessData) StoreChannel UpdateAccessData(accessData *model.AccessData) StoreChannel GetAccessData(token string) StoreChannel + GetAccessDataByUserForApp(userId, clientId string) StoreChannel GetAccessDataByRefreshToken(token string) StoreChannel GetPreviousAccessData(userId, clientId string) StoreChannel RemoveAccessData(token string) StoreChannel |