Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NoauthClient ¶
type NoauthClient interface { fosite.Client fosite.OpenIDConnectClient fosite.ResponseModeClient }
type Server ¶
type Server struct { ServerConfig // contains filtered or unexported fields }
func NewServer ¶
func NewServer(conf *ServerConfig) *Server
type ServerConfig ¶
type ServerConfig struct { Issuer string `json:"issuer,omitempty"` ClientID string `json:"clientID,omitempty"` ClientSecret string `json:"clientSecret,omitempty"` GrafanaHostname string `json:"grafanaHostname,omitempty"` RedirectURI string `json:"redirectURI,omitempty"` ManagementAPIEndpoint string `json:"managementAPIEndpoint,omitempty"` Port int `json:"port,omitempty"` Debug bool `json:"debug,omitempty"` OpenID openid.OpenidConfig `json:"openid,omitempty"` Logger *zap.SugaredLogger `json:"-"` }
func (*ServerConfig) DeepCopy ¶
func (in *ServerConfig) DeepCopy() *ServerConfig
func (*ServerConfig) DeepCopyInto ¶
func (in *ServerConfig) DeepCopyInto(out *ServerConfig)
Click to show internal directories.
Click to hide internal directories.