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

(constructor)

Home > @gooddata/sdk-backend-tiger > TigerJwtAuthProvider > (constructor)

TigerJwtAuthProvider.(constructor)

This API is provided as an alpha preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

Create a new instance of TigerJwtAuthProvider

Signature:

constructor(jwt: string, notAuthenticatedHandler?: NotAuthenticatedHandler, tokenIsAboutToExpireHandler?: JwtIsAboutToExpireHandler | undefined, secondsBeforeTokenExpirationToCallReminder?: number);

Parameters

ParameterTypeDescription
jwtstringThe JSON Web Token value.
notAuthenticatedHandlerNotAuthenticatedHandler(Optional) Optional handler called when auth provider encounters "non-authenticated" error (for example when session is no longer valid due to expired JWT).
tokenIsAboutToExpireHandlerJwtIsAboutToExpireHandler | undefined(Optional) Optional handler called when JWT is about to expire. The handler will receive function that can be used to set the new JWT to continue the current session.
secondsBeforeTokenExpirationToCallRemindernumber(Optional) The number of seconds before token expiration to call tokenIsAboutToExpireHandler handler. The handler is called only when the value is positive number greater than zero and tokenIsAboutToExpireHandler handler value is provided.
  • TigerJwtAuthProvider.(constructor)
  • 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