mirror of https://github.com/grafana/grafana.git
				
				
				
			
		
			
				
	
	
		
			24 lines
		
	
	
		
			530 B
		
	
	
	
		
			Go
		
	
	
	
			
		
		
	
	
			24 lines
		
	
	
		
			530 B
		
	
	
	
		
			Go
		
	
	
	
| package setting
 | |
| 
 | |
| type OAuthInfo struct {
 | |
| 	ClientId, ClientSecret string
 | |
| 	Scopes                 []string
 | |
| 	AuthUrl, TokenUrl      string
 | |
| 	Enabled                bool
 | |
| 	AllowedDomains         []string
 | |
| 	HostedDomain           string
 | |
| 	ApiUrl                 string
 | |
| 	AllowSignup            bool
 | |
| 	Name                   string
 | |
| 	TlsClientCert          string
 | |
| 	TlsClientKey           string
 | |
| 	TlsClientCa            string
 | |
| 	TlsSkipVerify          bool
 | |
| }
 | |
| 
 | |
| type OAuther struct {
 | |
| 	OAuthInfos map[string]*OAuthInfo
 | |
| }
 | |
| 
 | |
| var OAuthService *OAuther
 |