basic

package
v0.9.2 Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2026 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultSecretName = "burrito-admin-credentials"
	DefaultUsername   = "admin"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type BasicAuthHandlers

type BasicAuthHandlers struct {
	Username        string
	Password        string
	SessionCookie   string
	LoginHTTPMethod string
}

func New

func New(c *config.Config, ctx context.Context, cl client.Client, sessionCookie string) (*BasicAuthHandlers, error)

func (*BasicAuthHandlers) GetLoginHTTPMethod

func (b *BasicAuthHandlers) GetLoginHTTPMethod() string

func (*BasicAuthHandlers) HandleCallback

func (b *BasicAuthHandlers) HandleCallback(c echo.Context) error

func (*BasicAuthHandlers) HandleLogin

func (b *BasicAuthHandlers) HandleLogin(c echo.Context) error

Jump to

Keyboard shortcuts

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