auth

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2026 License: BSD-3-Clause Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewComponent added in v0.8.0

func NewComponent(opts *Opts) composer.FlowComponent

func RegisterWith

func RegisterWith(cfg config.Map) (string, error)

Types

type Opts

type Opts struct {
	Cfg config.Map

	// The Mux to register the basic authentication API with, if enabled.
	Mux *http.ServeMux

	DB db.SQLClient

	// Directory where OAS for the auth APIs can be found.
	OASDir string

	// Enriches call flows with administrator metadata, if admin calls.
	AdminSessionMiddleware basicapigen.StrictMiddlewareFunc
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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