Scope
yosoi.policy.Scope
class Scope(Model):
Map URL admission boundaries relative to the authored seed.
Attributes: hosts: seed_host or registrable_domain controls admitted hostname scope. paths: seed_subtree or entire_origin controls admitted URL paths. Scheme and port remain part of origin admission.
Source: python/yosoi/policy.py:464
Members below are declared on this class. Inherited Pydantic methods and generated constructor signatures are not expanded.
Fields and class attributes
Section titled “Fields and class attributes”hosts: HostScope = _field('map', 'scope', 'hosts')
paths: PathScope = _field('map', 'scope', 'paths')