external_auth

package
v1.60.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 10, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterHook

func RegisterHook(settings Settings) bool

Types

type ExternalAuth

type ExternalAuth struct {
	AuthURL         string `json:"authURL"`
	AuthSignInURL   string `json:"authSignInURL"`
	UseBearerTokens *bool  `json:"useBearerTokens,omitempty"`
}

func (*ExternalAuth) AuthURLWithClusterDomain

func (e *ExternalAuth) AuthURLWithClusterDomain(input *go_hook.HookInput) string

type Settings

type Settings struct {
	// Values path to read and store auth values
	ExternalAuthPath string
	// Where to store a flag to enabled DexAuthenticator
	DexAuthenticatorEnabledPath string
	// Options to set if Dex is enabled
	DexExternalAuth ExternalAuth
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL