Versions in this module Expand all Collapse all v0 v0.1.3 Jun 21, 2026 Changes in this version + type Authenticator struct + func New[U any](lookup func(ctx context.Context, id uuid.UUID) (*U, error)) *Authenticator[U] + func (a *Authenticator[U]) Authenticate(ctx context.Context, token string) (*authorization.Actor, *U, error) + func (a *Authenticator[U]) EnsureRoles(_ context.Context, _ string, actor *authorization.Actor) (*authorization.Actor, error)