refactor: moved scope names and the capability budget into 'pkg/tokens' #5
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "review/tokens-budget-scopes"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Moves the shared scope vocabulary and the capability budget builder into
pkg/tokens.tokens.ScopeIdentity,tokens.ScopeProfile,tokens.ScopeGroups,tokens.ScopeNames()(sorted, fresh slice), andtokens.NewCapabilityBudget(issuer, audience, capabilities), which fills Scopes with every scope.service.ScopeIdentity/ScopeProfile/ScopeGroups,service.ScopeNames, andservice.BuildIntegrationCapabilityBudget.internal/servicekeeps labels and descriptions keyed by the tokens constants.pkg/client/manifest.gono longer importsinternal/service. pkg/client still depends on it throughinternal/api, which is out of scope here.make testpasses.🤖 Generated with Claude Code