summaryrefslogtreecommitdiffstats
path: root/store/store.go
diff options
context:
space:
mode:
author=Corey Hulen <corey@hulen.com>2016-01-20 08:56:09 -0600
committer=Corey Hulen <corey@hulen.com>2016-01-20 08:56:09 -0600
commit640d3018c9a75e7c85da55c3483396e31a6de994 (patch)
tree7b8190f82ca9bafbdea6aa3b2b3da216897ea784 /store/store.go
parentef11df753227f3082d5c2226c0e7525e14ed47c7 (diff)
downloadchat-640d3018c9a75e7c85da55c3483396e31a6de994.tar.gz
chat-640d3018c9a75e7c85da55c3483396e31a6de994.tar.bz2
chat-640d3018c9a75e7c85da55c3483396e31a6de994.zip
PLT-7 adding loc db calls for oauth table
Diffstat (limited to 'store/store.go')
-rw-r--r--store/store.go24
1 files changed, 12 insertions, 12 deletions
diff --git a/store/store.go b/store/store.go
index 5b711fdc7..fe103032e 100644
--- a/store/store.go
+++ b/store/store.go
@@ -147,18 +147,18 @@ type AuditStore interface {
}
type OAuthStore interface {
- SaveApp(app *model.OAuthApp) StoreChannel
- UpdateApp(app *model.OAuthApp) StoreChannel
- GetApp(id string) StoreChannel
- GetAppByUser(userId string) StoreChannel
- SaveAuthData(authData *model.AuthData) StoreChannel
- GetAuthData(code string) StoreChannel
- RemoveAuthData(code string) StoreChannel
- PermanentDeleteAuthDataByUser(userId string) StoreChannel
- SaveAccessData(accessData *model.AccessData) StoreChannel
- GetAccessData(token string) StoreChannel
- GetAccessDataByAuthCode(authCode string) StoreChannel
- RemoveAccessData(token string) StoreChannel
+ SaveApp(T goi18n.TranslateFunc, app *model.OAuthApp) StoreChannel
+ UpdateApp(T goi18n.TranslateFunc, app *model.OAuthApp) StoreChannel
+ GetApp(T goi18n.TranslateFunc, id string) StoreChannel
+ GetAppByUser(T goi18n.TranslateFunc, userId string) StoreChannel
+ SaveAuthData(T goi18n.TranslateFunc, authData *model.AuthData) StoreChannel
+ GetAuthData(T goi18n.TranslateFunc, code string) StoreChannel
+ RemoveAuthData(T goi18n.TranslateFunc, code string) StoreChannel
+ PermanentDeleteAuthDataByUser(T goi18n.TranslateFunc, userId string) StoreChannel
+ SaveAccessData(T goi18n.TranslateFunc, accessData *model.AccessData) StoreChannel
+ GetAccessData(T goi18n.TranslateFunc, token string) StoreChannel
+ GetAccessDataByAuthCode(T goi18n.TranslateFunc, authCode string) StoreChannel
+ RemoveAccessData(T goi18n.TranslateFunc, token string) StoreChannel
}
type SystemStore interface {