auth

package
v0.2.65 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2026 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New() (http.Handler, error)

New kept for backwards-compatibility; prefers single init but constructs when needed.

func NewWithDatly

func NewWithDatly(_ *datly.Service) (http.Handler, error)

NewWithDatly removed; keep stub to avoid breaking imports.

func NewWithDatlyAndConfig

func NewWithDatlyAndConfig(dao *datly.Service, sess *iauth.Manager, cfg *iauth.Config) (http.Handler, error)

NewWithDatlyAndConfig allows sharing a single session manager and config across middleware and handlers.

func NewWithDatlyAndConfigExt

func NewWithDatlyAndConfigExt(dao *datly.Service, sess *iauth.Manager, cfg *iauth.Config, defaultModel, defaultAgent, defaultEmbedder string) (http.Handler, error)

NewWithDatlyAndConfigExt allows passing workspace defaults (model/agent) to enrich /auth/me.

Types

type Service

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

Service bundles deps for auth endpoints.

Jump to

Keyboard shortcuts

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