Versions in this module Expand all Collapse all v3 v3.0.0 Oct 23, 2026 Changes in this version + const MaxEntries + type Entry struct + Password string + Principal authentication.PrincipalSpec + Username string + type Option func(*config) + func WithMaxPasswordBytes(maximum int) Option + func WithMaxUsernameBytes(maximum int) Option + type Static struct + func NewStatic(entries []Entry) (*Static, error) + func NewStaticWithOptions(entries []Entry, options ...Option) (*Static, error) + func (s *Static) Authenticate(ctx context.Context, credential authentication.Credential) (authentication.Result, error) Other modules containing this package github.com/faustbrian/go-authentication github.com/faustbrian/go-authentication/v2