diff options
author | Joram Wilander <jwawilander@gmail.com> | 2017-04-12 16:29:42 -0400 |
---|---|---|
committer | Harrison Healey <harrisonmhealey@gmail.com> | 2017-04-12 16:29:42 -0400 |
commit | 8b8aa2ca3c803b26fb4a1ba5f249111739376494 (patch) | |
tree | 9fa13e99e60a9effc12bad964b13a3c23fab795e /store/store.go | |
parent | 03502cf73b8513a40877b1ac5726523974661d4d (diff) | |
download | chat-8b8aa2ca3c803b26fb4a1ba5f249111739376494.tar.gz chat-8b8aa2ca3c803b26fb4a1ba5f249111739376494.tar.bz2 chat-8b8aa2ca3c803b26fb4a1ba5f249111739376494.zip |
Refactor OAuth 2.0 code into app layer (#6037)
Diffstat (limited to 'store/store.go')
-rw-r--r-- | store/store.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/store/store.go b/store/store.go index b78d4a458..18f7374dc 100644 --- a/store/store.go +++ b/store/store.go @@ -246,9 +246,9 @@ type OAuthStore interface { SaveApp(app *model.OAuthApp) StoreChannel UpdateApp(app *model.OAuthApp) StoreChannel GetApp(id string) StoreChannel - GetAppByUser(userId string) StoreChannel - GetApps() StoreChannel - GetAuthorizedApps(userId string) StoreChannel + GetAppByUser(userId string, offset, limit int) StoreChannel + GetApps(offset, limit int) StoreChannel + GetAuthorizedApps(userId string, offset, limit int) StoreChannel DeleteApp(id string) StoreChannel SaveAuthData(authData *model.AuthData) StoreChannel GetAuthData(code string) StoreChannel |