lan

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Authenticator

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

func New

func New(db *orm.DB, ids model.IDGenerator) *Authenticator

func (*Authenticator) ExtractClientIP

func (a *Authenticator) ExtractClientIP(ctx router.Context, trustProxy bool) string

func (*Authenticator) Mount

func (a *Authenticator) Mount(r router.Router, module any)

func (*Authenticator) Name

func (a *Authenticator) Name() string

func (*Authenticator) ValidateRUT

func (a *Authenticator) ValidateRUT(rut string) (string, error)

Jump to

Keyboard shortcuts

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