Versions in this module Expand all Collapse all v1 v1.1.0 May 22, 2026 Changes in this version + var ErrInvalidToken = errors.New("auth: invalid token") + type Verifier interface + Verify func(ctx context.Context, token string) (principal string, err error) + func StaticBearer(tokens map[string]string) Verifier + type VerifierFunc func(ctx context.Context, token string) (string, error) + func (f VerifierFunc) Verify(ctx context.Context, token string) (string, error)