isSafeRedirectUrl

Function

Determines if a given URL is safe to redirect to. All URLs to *.esri.com and *.arcgis.com are considered safe. Non esri/arcgis domains must have a domain record.

  • isSafeRedirectUrl(options: IIsSafeRedirectUrlOptions) : Promise<boolean>

Parameters

Parameter Type Default Notes
options Required IIsSafeRedirectUrlOptions

Returns

a promise that resolves a boolean

Promise<boolean>

Function defined in common/src/urls/is-safe-redirect-url.ts:22