isSecureProxyServiceUrl

Function

Portal secure proxy services are identified by looking for these patterns in the url:

  • /sharing/servers/
  • /sharing/appservices/
  • /usrsvcs/servers/
  • /usrsvcs/appservices/

This function was given to us by the JSAPI team, so we trust the regex's are correct, and won't be adding additional tests for it.

  • isSecureProxyServiceUrl(url: string) : boolean

Parameters

Parameter Type Default Notes
url Required string

Returns

boolean

Function defined in common/src/content/hostedServiceUtils.ts:107