mirror of
https://github.com/openziti/zrok.git
synced 2025-06-26 12:42:18 +02:00
config can globally delegate to secrets in v1.0.7+ (#983)
This commit is contained in:
parent
ac658fb696
commit
6598fd6961
@ -1,14 +1,16 @@
|
|||||||
package sdk
|
package sdk
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/pkg/errors"
|
|
||||||
"reflect"
|
"reflect"
|
||||||
|
|
||||||
|
"github.com/pkg/errors"
|
||||||
)
|
)
|
||||||
|
|
||||||
const ZrokProxyConfig = "zrok.proxy.v1"
|
const ZrokProxyConfig = "zrok.proxy.v1"
|
||||||
|
|
||||||
type FrontendConfig struct {
|
type FrontendConfig struct {
|
||||||
Interstitial bool `json:"interstitial"`
|
Interstitial bool `json:"interstitial"`
|
||||||
|
AuthSecrets bool `json:"secrets_auth"` // v1.0.7+ delegates to secrets storage for auth config
|
||||||
AuthScheme AuthScheme `json:"auth_scheme"`
|
AuthScheme AuthScheme `json:"auth_scheme"`
|
||||||
BasicAuth *BasicAuthConfig `json:"basic_auth"`
|
BasicAuth *BasicAuthConfig `json:"basic_auth"`
|
||||||
OauthAuth *OauthConfig `json:"oauth"`
|
OauthAuth *OauthConfig `json:"oauth"`
|
||||||
|
Loading…
x
Reference in New Issue
Block a user