Help us shape the future of Go! Take the 2026 Go Developer Survey

authentication

package
v1.8.2 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2025 License: Apache-2.0 Imports: 7 Imported by: 4

Documentation

Index

Constants

View Source
const (
	Orchestrator = "/orchestrator"
	Dashboard    = "dashboard"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	AuthEnabled bool
}

func GetConfig

func GetConfig() *Config

type UserAuthOidcHelper

type UserAuthOidcHelper interface {
	GetClientApp() *oidc.ClientApp
	GetDexProxy() func(writer http.ResponseWriter, request *http.Request)
	UpdateInMemoryDataOnSsoAddUpdate(ssoUrl string) error
}

type UserAuthOidcHelperImpl

type UserAuthOidcHelperImpl struct {
	// contains filtered or unexported fields
}

func NewUserAuthOidcHelperImpl

func NewUserAuthOidcHelperImpl(logger *zap.SugaredLogger, selfRegistrationRolesService user.UserSelfRegistrationService, dexConfig *client.DexConfig,
	settings *oidc.Settings, sessionManager *authMiddleware.SessionManager) (*UserAuthOidcHelperImpl, error)

func (UserAuthOidcHelperImpl) GetClientApp

func (impl UserAuthOidcHelperImpl) GetClientApp() *oidc.ClientApp

func (UserAuthOidcHelperImpl) GetDexProxy

func (impl UserAuthOidcHelperImpl) GetDexProxy() func(writer http.ResponseWriter, request *http.Request)

func (UserAuthOidcHelperImpl) UpdateInMemoryDataOnSsoAddUpdate

func (impl UserAuthOidcHelperImpl) UpdateInMemoryDataOnSsoAddUpdate(ssoUrl string) error

Jump to

Keyboard shortcuts

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