GoodData.UI API reference
  • GoodData.UI
  • Docs & APIs
  • Developers
  • GoodData.CN
  • GoodData.UI
  • Docs & APIs
  • Get GoodData.CN Community Edition
  • 10.26.0
  • Code samples
  • Gallery
  • GitHub

isUrlValid()

Home > @gooddata/sdk-backend-spi > ISecuritySettingsService > isUrlValid

ISecuritySettingsService.isUrlValid() method

Validate URL against backend list of allowed URLs.

Signature:

isUrlValid(url: string, context: ValidationContext): Promise<boolean>;

Parameters

ParameterTypeDescription
urlstringURL for validation.
contextValidationContextcontext in which the URL must be valid.

Returns:

Promise<boolean>

promise with boolean: true when validated URL is allowed as external host, false if it is not.

  • ISecuritySettingsService.isUrlValid() method
  • Parameters
GoodData resources:
  • Documentation
Follow the community:
  • Community
Copyright © 2007–2025 GoodData Corporation. All Rights Reserved. Code licensed under a dual license - CC BY‑NC 4.0 for trial experience and GoodData.UI EULA for commercial use