Function: parseIssuerOrigin()
function parseIssuerOrigin(value: unknown): string | null;
Defined in: issuer-origin.ts:21 (opens in a new tab)
value as one origin, scheme://host[:port] in lower case, or null for
anything else. https, or http on localhost, 127.0.0.1 or [::1] only: keys,
tokens and signed requests go there, and plain http elsewhere can be read
and changed on the way. One trailing slash is dropped. A path, a query, a
fragment, a user name, the scheme's own port, space or any character
outside printable ASCII is refused rather than repaired, so every caller in
every language sends requests to the same place.
ParametersLink to this section
| Parameter | Type |
|---|---|
value | unknown |
ReturnsLink to this section
string | null