MCPcopy Create free account
hub / github.com/discourse/discourse-auth-proxy / rawConfig

Struct rawConfig

config.go:109–125  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

107}
108
109type rawConfig struct {
110 OriginURL *string
111 ProxyURL *string
112 ListenURL *string // Not actually a URL. This is a TCP socket address, i.e.: 'host:port'.
113 SSOURL *string
114 SSOSecret *string
115 AllowAll *bool
116 AllowGroups *string
117 BasicAuth *string
118 Whitelist *string
119 WhitelistPrefix *string
120 UsernameHeader *string
121 GroupsHeader *string
122 Timeout *int
123 SRVAbandonAfter *int
124 LogRequests *bool
125}
126
127func parseRawConfig() *rawConfig {
128 c := &rawConfig{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected