Skip to content

webUrl

function webUrl(
value,
protocols?,
base?
): string | undefined;

Defined in: core/src/auth/oauth.ts:245

The URL if it is http(s), else undefined. It comes off the network and ends up in openUrl, so a javascript: or data: URL must not get through.

Parameter Type
value string | undefined
protocols string[]
base? string

string | undefined