server

package
v0.3.5 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadWorkspaceAuthConfig

func LoadWorkspaceAuthConfig(workspaceRoot string) (*authConfig, error)

func NewAuthRuntime

func NewAuthRuntime(ctx context.Context, workspaceRoot string, rt *executor.Runtime) (*authRuntime, error)

func NewSessionStoreAdapter

func NewSessionStoreAdapter(dao *datly.Service) svcauth.SessionStore

func NewSpeechHandler

func NewSpeechHandler() http.HandlerFunc

func WithAuthExtensions

func WithAuthExtensions(base http.Handler, runtime *authRuntime) http.Handler

func WithAuthProtection added in v0.3.5

func WithAuthProtection(base http.Handler, runtime *authRuntime) http.Handler

WithAuthProtection wraps an arbitrary handler with auth context injection and strict authentication enforcement for all non-health routes.

Types

This section is empty.

Jump to

Keyboard shortcuts

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