Method Permits
- Namespace
- MailFathom.Infrastructure.Security.Transport
- Assembly
- MailFathom.Infrastructure.dll
Permits(string?)
Gets whether a request carrying a given Origin is served.
public bool Permits(string? origin)
Parameters
Returns
Remarks
A request with no Origin is served, because that is every non-browser client and the header is not a
credential. An opaque origin, which a browser spells null, normalizes to nothing and is refused under a
restricting policy: it names no origin an operator could have listed.