Validate and normalize one host-selected permission requirement.
Proposed category, operation, and exact scope.
Registered host extension categories.
An immutable canonical requirement.
normalizeRequirement({ category: 'network', domain: 'network', operation: 'network.connect', scope: { kind: 'origin', value: 'https://example.org' } }, {}); Copy
normalizeRequirement({ category: 'network', domain: 'network', operation: 'network.connect', scope: { kind: 'origin', value: 'https://example.org' } }, {});
Validate and normalize one host-selected permission requirement.