Documentation
    Preparing search index...

    Function normalizePermissionScope

    • Normalize a permission scope without changing protocol payload or cache keys.

      Parameters

      • scope: PermissionScope

        Host-selected matching semantics and untrusted requested value.

      Returns PermissionScope

      A detached immutable scope, or throws for unsafe matching input.

      normalizePermissionScope({ kind: 'origin', value: 'https://EXAMPLE.com:443' });