Skip to main content

site_matches

Function site_matches 

Source
pub fn site_matches(stored: &Site, mode: Mode, origin: &Site) -> bool
Expand description

Whether a page at origin may be offered a credential stored for stored.

origin is what a browser reports: it always has a scheme. A result of false is final; a result of true still only means “offer it”, and the caller decides about filling.