@inrupt/solid-client
    Preparing search index...

    Function addAnyOfMatcherUrl

    • function is still experimental and subject to change, even in a non-major release.
      

      Add a Matcher that extends the scope of a given the [[Policy]]. If an agent requesting access to a resource is present in any of the "Any Of" Matchers, they will be granted access.

      Also see [[addAllOfMatcherUrl]] and [[addNoneOfMatcherUrl]].

      Type Parameters

      Parameters

      • policy: P

        The [[Policy]] to which the Matcher should be added.

      • matcher: string | Url | ThingPersisted

        The Matcher to add to the policy.

      Returns P

      A new [[Policy]] clone of the original one, with the new Matcher added.

      Not released yet.