OptionalallowedDomains: string[]OptionalblockedDomains: string[]The URL to check (full URL or just a domain)
NavigationDecision with Allowed, Reason, and Domain
StaticExtractExtract the hostname from a URL string. Handles full URLs and bare domains gracefully.
StaticMatchesMatch a domain against a pattern. Supports:
This is a static method so it can be reused by AuthHandler for the same domain matching logic.
Check whether navigation to the given URL is allowed.