Files
grafana/pkg/setting/setting_oauth.go

24 lines
530 B
Go
Raw Normal View History

2014-10-07 15:54:38 -04:00
package setting
type OAuthInfo struct {
ClientId, ClientSecret string
Scopes []string
AuthUrl, TokenUrl string
2014-10-07 17:56:37 -04:00
Enabled bool
AllowedDomains []string
HostedDomain string
ApiUrl string
AllowSignup bool
2016-09-28 15:10:50 +02:00
Name string
TlsClientCert string
TlsClientKey string
TlsClientCa string
TlsSkipVerify bool
2014-10-07 15:54:38 -04:00
}
type OAuther struct {
2016-09-28 15:10:50 +02:00
OAuthInfos map[string]*OAuthInfo
2014-10-07 15:54:38 -04:00
}
var OAuthService *OAuther