feat(oauth): refactoring PR #6077

This commit is contained in:
Torkel Ödegaard committed 2016-09-28 15:10:50 +02:00
1 parent 5ccdbf01fd
commit e5fc4332cd
5 files changed
+27 -49

No files matched your search

+2 -3
View File
@@ -8,12 +8,11 @@ type OAuthInfo struct {
AllowedDomains []string
ApiUrl string
AllowSignup bool
Name string
}
type OAuther struct {
GitHub, Google, Twitter, Generic, GrafanaNet bool
OAuthInfos map[string]*OAuthInfo
OAuthProviderName string
OAuthInfos map[string]*OAuthInfo
}
var OAuthService *OAuther