Versions in this module Expand all Collapse all v0 v0.1.0 Jun 20, 2023 Changes in this version + func Embed(ctx context.Context, user User) context.Context + func RolesFromContext(ctx context.Context) ([]string, bool) + func SubjectFromContext(ctx context.Context) (string, bool) + type User interface + RBACRoles func() []string + RBACSubjectID func() string + func FromContext(ctx context.Context) User