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

withAuthentication()

Home > @gooddata/sdk-backend-spi > IAnalyticalBackend > withAuthentication

IAnalyticalBackend.withAuthentication() method

Sets authentication provider to be used when backend discovers current session is not authenticated.

Signature:

withAuthentication(provider: IAuthenticationProvider): IAnalyticalBackend;

Parameters

ParameterTypeDescription
providerIAuthenticationProviderauthentication provider to use

Returns:

IAnalyticalBackend

a new instance of backend, set up with the provider

  • IAnalyticalBackend.withAuthentication() 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