Public declaration syntax from forge-py/src/forge/auth/capability.py Original source SHA-256: b1fa0b8a5b6c7ac5e489128e87acd81310973ca4415bd3ee5606a9c892b42c25 Function bodies and constant values are omitted. This is not the complete implementation. Source line 21 class Scope() Source line 48 def parse(scope_str: str) -> Scope Source line 74 def wildcard() -> Scope Source line 86 def implies(self, other: Scope) -> bool Source line 110 def as_str(self) -> str Source line 123 class ScopeSet() Source line 140 def __init__(self) -> None Source line 144 def from_strings(scope_strs: list[str]) -> ScopeSet Source line 166 def add(self, scope: Scope) -> None Source line 180 def allows(self, requested: Scope) -> bool Source line 196 def is_superset_of(self, other: ScopeSet) -> bool Source line 219 def to_strings(self) -> list[str] Source line 241 class ArsenalACT() Source line 293 def is_expired(self) -> bool Source line 316 def remaining_ttl_seconds(self) -> int Source line 330 def to_dict(self) -> dict[str, Any] Source line 353 def from_dict(data: dict[str, Any]) -> ArsenalACT Source line 382 def to_json(self) -> str Source line 391 def from_json(data: str) -> ArsenalACT Source line 403 def verify_act(act: ArsenalACT) -> None Source line 457 def extract_scopes(act: ArsenalACT) -> list[str] Source line 484 def act_allows_scope(act: ArsenalACT, scope_str: str) -> bool